projects
/
linux-drm-fsl-dcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
file->f_op is never NULL...
[linux-drm-fsl-dcu.git]
/
net
/
9p
/
trans_fd.c
diff --git
a/net/9p/trans_fd.c
b/net/9p/trans_fd.c
index 3ffda1b3799b54340a0ba7851fa0f1c3cea6710c..9321a77630675dacbca66949e7e2e0f75d25deed 100644
(file)
--- a/
net/9p/trans_fd.c
+++ b/
net/9p/trans_fd.c
@@
-244,10
+244,10
@@
p9_fd_poll(struct p9_client *client, struct poll_table_struct *pt)
if (!ts)
return -EREMOTEIO;
- if (!ts->rd->f_op
|| !ts->rd->f_op
->poll)
+ if (!ts->rd->f_op->poll)
return -EIO;
- if (!ts->wr->f_op
|| !ts->wr->f_op
->poll)
+ if (!ts->wr->f_op->poll)
return -EIO;
ret = ts->rd->f_op->poll(ts->rd, pt);