From: Tejun Heo Date: Thu, 20 Sep 2007 07:05:10 +0000 (+0900) Subject: sysfs: kill unnecessary NULL pointer check in sysfs_release() X-Git-Tag: v2.6.24-rc1~1394^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50ab1a72863b1ad4b117862bc52610f8d4535609;p=pandora-kernel.git 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 Acked-by: Cornelia Huck Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed