mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
4aacd47bd8
commit
61d64576a2
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user