提交 99517e3d 编写于 作者: D David S. Miller

9p: Kill set but not used variable 'ret' in parse_opts()

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3fb72f1e
......@@ -716,7 +716,6 @@ static int parse_opts(char *params, struct p9_fd_opts *opts)
substring_t args[MAX_OPT_ARGS];
int option;
char *options, *tmp_options;
int ret;
opts->port = P9_PORT;
opts->rfd = ~0;
......@@ -744,7 +743,6 @@ static int parse_opts(char *params, struct p9_fd_opts *opts)
if (r < 0) {
P9_DPRINTK(P9_DEBUG_ERROR,
"integer field, but no integer?\n");
ret = r;
continue;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册