diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-28 13:12:32 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:13:03 -0400 |
commit | 3273097ee9c077512bcb017535b0781f1e1f7a6d (patch) | |
tree | ecc63de656f42c37194684d189a727dbb20dcf6b /drivers/usb/gadget | |
parent | c62c5a887766de7dc51f7722ff461aef8f388b71 (diff) |
gadgetfs: don't bother with fops->owner
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/f_fs.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/inode.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c index c377ff84bf2c..f394f295d63d 100644 --- a/drivers/usb/gadget/f_fs.c +++ b/drivers/usb/gadget/f_fs.c | |||
@@ -727,7 +727,6 @@ static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value) | |||
727 | } | 727 | } |
728 | 728 | ||
729 | static const struct file_operations ffs_ep0_operations = { | 729 | static const struct file_operations ffs_ep0_operations = { |
730 | .owner = THIS_MODULE, | ||
731 | .llseek = no_llseek, | 730 | .llseek = no_llseek, |
732 | 731 | ||
733 | .open = ffs_ep0_open, | 732 | .open = ffs_ep0_open, |
@@ -947,7 +946,6 @@ static long ffs_epfile_ioctl(struct file *file, unsigned code, | |||
947 | } | 946 | } |
948 | 947 | ||
949 | static const struct file_operations ffs_epfile_operations = { | 948 | static const struct file_operations ffs_epfile_operations = { |
950 | .owner = THIS_MODULE, | ||
951 | .llseek = no_llseek, | 949 | .llseek = no_llseek, |
952 | 950 | ||
953 | .open = ffs_epfile_open, | 951 | .open = ffs_epfile_open, |
diff --git a/drivers/usb/gadget/inode.c b/drivers/usb/gadget/inode.c index e2b2e9cf254a..dda0dc4a5567 100644 --- a/drivers/usb/gadget/inode.c +++ b/drivers/usb/gadget/inode.c | |||
@@ -887,7 +887,6 @@ ep_open (struct inode *inode, struct file *fd) | |||
887 | 887 | ||
888 | /* used before endpoint configuration */ | 888 | /* used before endpoint configuration */ |
889 | static const struct file_operations ep_config_operations = { | 889 | static const struct file_operations ep_config_operations = { |
890 | .owner = THIS_MODULE, | ||
891 | .llseek = no_llseek, | 890 | .llseek = no_llseek, |
892 | 891 | ||
893 | .open = ep_open, | 892 | .open = ep_open, |
@@ -1940,7 +1939,6 @@ dev_open (struct inode *inode, struct file *fd) | |||
1940 | } | 1939 | } |
1941 | 1940 | ||
1942 | static const struct file_operations dev_init_operations = { | 1941 | static const struct file_operations dev_init_operations = { |
1943 | .owner = THIS_MODULE, | ||
1944 | .llseek = no_llseek, | 1942 | .llseek = no_llseek, |
1945 | 1943 | ||
1946 | .open = dev_open, | 1944 | .open = dev_open, |