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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=61d64576a21275114d6bffff3c1cac6c8e2f7cf2;p=linux-beck.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 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];