diff options
author | Changli Gao <xiaosuo@gmail.com> | 2007-07-15 23:40:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 09:05:43 -0700 |
commit | 99fc06df72fe1c9ad3ec274720dcb5658c40bfd2 (patch) | |
tree | 1a5913a12185031e2076618884988afc6ef5759e /kernel | |
parent | 17973f5af741f1758ed57c5115ca394c22bee159 (diff) | |
download | linux-99fc06df72fe1c9ad3ec274720dcb5658c40bfd2.tar.gz linux-99fc06df72fe1c9ad3ec274720dcb5658c40bfd2.tar.bz2 linux-99fc06df72fe1c9ad3ec274720dcb5658c40bfd2.zip |
procfs directory entry cleanup
Function proc_register() will assign proc_dir_operations and
proc_dir_inode_operations to ent's members proc_fops and proc_iops
correctly if ent is a directory. So the early assignment isn't
necessary.
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions