Skip to content

Commit

Permalink
9p: Kill set but not used variable 'ret' in parse_opts()
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent 3fb72f1 commit 99517e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/9p/trans_fd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 99517e3

Please sign in to comment.