tmp_suning_uos_patched/fs/sysfs
Tejun Heo 50ab1a7286 sysfs: kill unnecessary NULL pointer check in sysfs_release()
In sysfs_release(), sysfs_buffer pointed to by filp->private_data is
guaranteed to exist.  Kill the unnecessary NULL check.  This also
makes the code more consistent with the counterpart in fs/sysfs/bin.c.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:10 -07:00
..
bin.c sysfs: kill unnecessary sysfs_get() in open paths 2007-10-12 14:51:10 -07:00
dir.c sysfs: fix comments of sysfs_add/remove_one() 2007-10-12 14:51:09 -07:00
file.c sysfs: kill unnecessary NULL pointer check in sysfs_release() 2007-10-12 14:51:10 -07:00
group.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c sysfs: Remove sysfs_instantiate 2007-10-12 14:51:07 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00
symlink.c sysfs: Make sysfs_mount static 2007-10-12 14:51:07 -07:00
sysfs.h sysfs: reposition sysfs_dirent->s_mode. 2007-10-12 14:51:10 -07:00