diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-09-02 23:42:14 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 06:39:13 (GMT) |
commit | 6b933de642d2726245df98d076cff09bf4d34dde (patch) | |
tree | de1a823ad3cb82f1f40b06aef36d8ff47ce3714a /drivers/s390/char | |
parent | c2e3f5d5f4620bb6568bc559f712ce80222e20cb (diff) | |
download | linux-6b933de642d2726245df98d076cff09bf4d34dde.tar.xz |
[s390] remove pointless assignment of ->f_op in vmlogrdr ->open()
The only way we can get to that function is from misc_open(), after
the latter has set file->f_op to exactly the same value we are
(re)assigning there.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/s390/char')
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index a8848db..9bb48d7 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c @@ -338,7 +338,6 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp) /* set the file options */ filp->private_data = logptr; - filp->f_op = &vmlogrdr_fops; /* start recording for this service*/ if (logptr->autorecording) { |