]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gadgetfs: don't bother with fops->owner
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Mar 2013 17:12:32 +0000 (13:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 9 Apr 2013 18:13:03 +0000 (14:13 -0400)
filesystem module as whole is pinned down by its superblock, no need
to have opened files on it to add anything to that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/gadget/f_fs.c
drivers/usb/gadget/inode.c

index c377ff84bf2cf39f7b39dfbedc1c93db971848a5..f394f295d63d1b87927fb49fe9ebe3234fe0c635 100644 (file)
@@ -727,7 +727,6 @@ static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value)
 }
 
 static const struct file_operations ffs_ep0_operations = {
-       .owner =        THIS_MODULE,
        .llseek =       no_llseek,
 
        .open =         ffs_ep0_open,
@@ -947,7 +946,6 @@ static long ffs_epfile_ioctl(struct file *file, unsigned code,
 }
 
 static const struct file_operations ffs_epfile_operations = {
-       .owner =        THIS_MODULE,
        .llseek =       no_llseek,
 
        .open =         ffs_epfile_open,
index e2b2e9cf254a8c9a6c464c80f067e6a7a81af467..dda0dc4a55674756c76cb0efdf0dd6973d1b6109 100644 (file)
@@ -887,7 +887,6 @@ ep_open (struct inode *inode, struct file *fd)
 
 /* used before endpoint configuration */
 static const struct file_operations ep_config_operations = {
-       .owner =        THIS_MODULE,
        .llseek =       no_llseek,
 
        .open =         ep_open,
@@ -1940,7 +1939,6 @@ dev_open (struct inode *inode, struct file *fd)
 }
 
 static const struct file_operations dev_init_operations = {
-       .owner =        THIS_MODULE,
        .llseek =       no_llseek,
 
        .open =         dev_open,