procfs directory entry cleanup
authorChangli Gao <[email protected]>
Mon, 16 Jul 2007 06:40:09 +0000 (23:40 -0700)
committerLinus Torvalds <[email protected]>
Mon, 16 Jul 2007 16:05:43 +0000 (09:05 -0700)
commit99fc06df72fe1c9ad3ec274720dcb5658c40bfd2
tree1a5913a12185031e2076618884988afc6ef5759e
parent17973f5af741f1758ed57c5115ca394c22bee159
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/proc/generic.c