fs: removing unused fops from struct char_device_struct
Subsystems (2)
PATCH 1/1 fs: removing unused fops from struct char_device_struct
Hi,
seems struct char_device_struct::fops is no longer used, removing it. I checked with "make allyesconfig" and got proper compile.
--- fs/char_dev.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fs/char_dev.c +0 -1
@@ -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 ];
Quoted 6 lines · Jiri Olsa
Hi,
seems struct
char_device_struct::fopsis no longer used, removing it. I checked with "make allyesconfig" and got proper compile.Signed-off-by Jiri Olsa <[email protected]>
Hm, why send this to me?
Did I make the mistake of touching this file last? Hm, nope, someone else touched it after I did, I'm safe :)
Seriously, I have no problem with this, but it should probably go through Andrew.
thanks,
greg k-h
oops, sorry... for some reason I though you were the guy :) I'll resend
jirka
Quoted 20 lines · Greg KH
Quoted 6 lines · Jiri Olsa
Hi,
seems struct
char_device_struct::fopsis no longer used, removing it. I checked with "make allyesconfig" and got proper compile.Signed-off-by Jiri Olsa <[email protected]>Hm, why send this to me?
Did I make the mistake of touching this file last? Hm, nope, someone else touched it after I did, I'm safe :)
Seriously, I have no problem with this, but it should probably go through Andrew.
thanks,
greg k-h
PATCH 1/1 fs: removing unused fops from struct char_device_struct -
In reply to Jiri OlsaHi,
seems char_device_struct::fops is no longer used, removing it. I checked with "make allyesconfig" and got proper build.
--- fs/char_dev.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fs/char_dev.c +0 -1
@@ -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 ];