summaryrefslogtreecommitdiffstats
path: root/fs/char_dev.c
diff options
context:
space:
mode:
authorJiri Olsa <olsajiri@gmail.com>2008-04-29 09:59:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:01 +0200
commit61d64576a21275114d6bffff3c1cac6c8e2f7cf2 (patch)
treeff9c9e01be5f47d8a3971571e07187fb3e43f4f7 /fs/char_dev.c
parentipwireless: remove dead code (diff)
downloadlinux-61d64576a21275114d6bffff3c1cac6c8e2f7cf2.tar.xz
linux-61d64576a21275114d6bffff3c1cac6c8e2f7cf2.zip
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>
Diffstat (limited to 'fs/char_dev.c')
-rw-r--r--fs/char_dev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/char_dev.c b/fs/char_dev.c
index 038674aa88a7..68e510b88457 100644
--- a/fs/char_dev.c
+++ b/fs/char_dev.c
@@ -55,7 +55,6 @@ static struct char_device_struct {
unsigned int baseminor;
int minorct;
char name[64];
- struct file_operations *fops;
struct cdev *cdev; /* will die */
} *chrdevs[CHRDEV_MAJOR_HASH_SIZE];