diff options
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 649d609e7d94..ded6c63f11ec 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -177,8 +177,6 @@ rpc_pipe_release(struct inode *inode, struct file *filp) | |||
177 | __rpc_purge_upcall(inode, -EPIPE); | 177 | __rpc_purge_upcall(inode, -EPIPE); |
178 | if (rpci->ops->release_pipe) | 178 | if (rpci->ops->release_pipe) |
179 | rpci->ops->release_pipe(inode); | 179 | rpci->ops->release_pipe(inode); |
180 | if (!rpci->nreaders && !rpci->nwriters) | ||
181 | rpci->ops = NULL; | ||
182 | out: | 180 | out: |
183 | up(&inode->i_sem); | 181 | up(&inode->i_sem); |
184 | return 0; | 182 | return 0; |