From: Randy.Dunlap Date: Tue, 11 Jul 2006 06:05:25 +0000 (-0700) Subject: sysfs_remove_bin_file: no return value, dump_stack on error X-Git-Tag: v2.6.19-rc1~1078^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=995982ca79d9262869513948ec7c540f32035491;p=pandora-kernel.git sysfs_remove_bin_file: no return value, dump_stack on error Make sysfs_remove_bin_file() void. If it detects an error, printk the file name and call dump_stack(). sysfs_hash_and_remove() now returns an error code indicating its success or failure so that sysfs_remove_bin_file() can know success/failure. Convert the only driver that checked the return value of sysfs_remove_bin_file(). Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed