Browse Source

fs: remove unused fops from struct char_device_struct

struct char_device_struct::fops is no longer used: remove it.

Signed-off-by: Jiri Olsa <olsajiri@gmail.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Jiri Olsa 17 years ago
parent
commit
61d64576a2
1 changed files with 0 additions and 1 deletions
  1. 0 1
      fs/char_dev.c

+ 0 - 1
fs/char_dev.c

@@ -55,7 +55,6 @@ static struct char_device_struct {
 	unsigned int baseminor;
 	unsigned int baseminor;
 	int minorct;
 	int minorct;
 	char name[64];
 	char name[64];
-	struct file_operations *fops;
 	struct cdev *cdev;		/* will die */
 	struct cdev *cdev;		/* will die */
 } *chrdevs[CHRDEV_MAJOR_HASH_SIZE];
 } *chrdevs[CHRDEV_MAJOR_HASH_SIZE];