From: Changli Gao Date: Mon, 16 Jul 2007 06:40:09 +0000 (-0700) Subject: procfs directory entry cleanup X-Git-Tag: v2.6.23-rc1~923 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99fc06df72fe1c9ad3ec274720dcb5658c40bfd2;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed