Skip to content

Commit 61d6457

Browse files
olsajiritorvalds
authored andcommitted
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>
1 parent 4aacd47 commit 61d6457

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎fs/char_dev.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ static struct char_device_struct {
5555
unsigned int baseminor;
5656
int minorct;
5757
char name[64];
58-
struct file_operations *fops;
5958
struct cdev *cdev; /* will die */
6059
} *chrdevs[CHRDEV_MAJOR_HASH_SIZE];
6160

0 commit comments

Comments
 (0)