Commit 3273097e authored by Al Viro's avatar Al Viro

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c62c5a88
...@@ -727,7 +727,6 @@ static long ffs_ep0_ioctl(struct file *file, unsigned code, unsigned long value) ...@@ -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 = { static const struct file_operations ffs_ep0_operations = {
.owner = THIS_MODULE,
.llseek = no_llseek, .llseek = no_llseek,
.open = ffs_ep0_open, .open = ffs_ep0_open,
...@@ -947,7 +946,6 @@ static long ffs_epfile_ioctl(struct file *file, unsigned code, ...@@ -947,7 +946,6 @@ static long ffs_epfile_ioctl(struct file *file, unsigned code,
} }
static const struct file_operations ffs_epfile_operations = { static const struct file_operations ffs_epfile_operations = {
.owner = THIS_MODULE,
.llseek = no_llseek, .llseek = no_llseek,
.open = ffs_epfile_open, .open = ffs_epfile_open,
......
...@@ -887,7 +887,6 @@ ep_open (struct inode *inode, struct file *fd) ...@@ -887,7 +887,6 @@ ep_open (struct inode *inode, struct file *fd)
/* used before endpoint configuration */ /* used before endpoint configuration */
static const struct file_operations ep_config_operations = { static const struct file_operations ep_config_operations = {
.owner = THIS_MODULE,
.llseek = no_llseek, .llseek = no_llseek,
.open = ep_open, .open = ep_open,
...@@ -1940,7 +1939,6 @@ dev_open (struct inode *inode, struct file *fd) ...@@ -1940,7 +1939,6 @@ dev_open (struct inode *inode, struct file *fd)
} }
static const struct file_operations dev_init_operations = { static const struct file_operations dev_init_operations = {
.owner = THIS_MODULE,
.llseek = no_llseek, .llseek = no_llseek,
.open = dev_open, .open = dev_open,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment