aboutsummaryrefslogtreecommitdiffstats
path: root/fs/9p/v9fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/v9fs.c')
-rw-r--r--fs/9p/v9fs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c
index 14d663ebfcbc..a573b751dd9a 100644
--- a/fs/9p/v9fs.c
+++ b/fs/9p/v9fs.c
@@ -296,11 +296,6 @@ v9fs_session_init(struct v9fs_session_info *v9ses,
296 case PROTO_FD: 296 case PROTO_FD:
297 trans_proto = &v9fs_trans_fd; 297 trans_proto = &v9fs_trans_fd;
298 *v9ses->remotename = 0; 298 *v9ses->remotename = 0;
299 if((v9ses->wfdno == ~0) || (v9ses->rfdno == ~0)) {
300 printk(KERN_ERR "v9fs: Insufficient options for proto=fd\n");
301 retval = -ENOPROTOOPT;
302 goto SessCleanUp;
303 }
304 break; 299 break;
305 default: 300 default:
306 printk(KERN_ERR "v9fs: Bad mount protocol %d\n", v9ses->proto); 301 printk(KERN_ERR "v9fs: Bad mount protocol %d\n", v9ses->proto);