Commit 6b933de6 authored by Al Viro's avatar Al Viro

[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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent c2e3f5d5
...@@ -338,7 +338,6 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp) ...@@ -338,7 +338,6 @@ static int vmlogrdr_open (struct inode *inode, struct file *filp)
/* set the file options */ /* set the file options */
filp->private_data = logptr; filp->private_data = logptr;
filp->f_op = &vmlogrdr_fops;
/* start recording for this service*/ /* start recording for this service*/
if (logptr->autorecording) { if (logptr->autorecording) {
......
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