ccg: don't bother with fops->owner
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 28 Mar 2013 17:00:31 +0000 (13:00 -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/staging/ccg/f_fs.c

index f6373dade7fb056f78ae49a1674b6b747f367fb2..e82b1cdfd18947016bc702cb24fd22b23f8faf6c 100644 (file)
@@ -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,
@@ -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,