]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Remove redundant sysfs_remove_file calls for cache info
authorNathan Lynch <ntl@pobox.com>
Tue, 12 Aug 2008 21:34:57 +0000 (07:34 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Aug 2008 06:34:58 +0000 (16:34 +1000)
commitf3d3d307e6f577de3b384ef64ffb03c8b5676748
tree895b7b126b79f91bf4c18b8410928f66cc986e6e
parent8f6ba49207199cab60a4bdf43507666b93d12e18
powerpc: Remove redundant sysfs_remove_file calls for cache info

When removing a directory, the sysfs core takes care of removing files
in the directory (see sysfs_remove_dir()).  So when we are about to
delete a kobject (and thus cause its sysfs directory to be removed),
we don't have to explicitly remove the files attached to it, although
it's harmless to do so.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/sysfs.c