From 99fc06df72fe1c9ad3ec274720dcb5658c40bfd2 Mon Sep 17 00:00:00 2001 From: Changli Gao Date: Sun, 15 Jul 2007 23:40:09 -0700 Subject: [PATCH] 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-format-patch failed