From: Ming Lei Date: Wed, 17 Dec 2008 15:15:35 +0000 (+0800) Subject: driver core:fix duplicate removing driver link in __device_release_driver X-Git-Tag: v2.6.29-rc1~229^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7232800ba8aca1c070d43a81cc49991f230b5da1;p=pandora-kernel.git driver core:fix duplicate removing driver link in __device_release_driver In __device_release_driver(),driver_sysfs_remove() has removed the driver link under device dir in sysfs, but sysfs_remove_link() is called again to do such thing. Remove the duplicate call to sys_remove_link(). Signed-off-by: Ming Lei Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed