Skip to content

Commit

Permalink
ccg: don't bother with fops->owner
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro committed Apr 9, 2013
1 parent 0b57b88 commit c62c5a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/staging/ccg/f_fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,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,
Expand Down Expand Up @@ -943,7 +942,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,
Expand Down

0 comments on commit c62c5a8

Please sign in to comment.