sysfs: don't warn on removal of a nonexistent binary file
commit5f1835da79df8607ecbd69f648b5b140b7a0b8ba
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 16 Aug 2007 20:13:06 +0000 (16 16:13 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:35:36 +0000 (22 14:35 -0700)
treed816ee2f9dcfd3d3a9acfb0fb62841806c8c3bce
parent4db29c17643a9968817f252405f495da4f147d55
sysfs: don't warn on removal of a nonexistent binary file

This patch (as960) removes the error message and stack dump logged by
sysfs_remove_bin_file() when someone tries to remove a nonexistent
file.  The warning doesn't seem to be needed, since none of the other
file-, symlink-, or directory-removal routines in sysfs complain in a
comparable way.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/sysfs/bin.c