From: Jiri Olsa Date: Tue, 29 Apr 2008 07:59:05 +0000 (-0700) Subject: fs: remove unused fops from struct char_device_struct X-Git-Tag: v2.6.26-rc1~650 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=61d64576a21275114d6bffff3c1cac6c8e2f7cf2;p=linux-2.6-omap-h63xx.git 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 Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/char_dev.c b/fs/char_dev.c index 038674aa88a..68e510b8845 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];