diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-19 17:38:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-19 17:38:57 -0400 |
commit | 99517e3d7930f8cc064f7e9443b1b441e00e83d7 (patch) | |
tree | 62479bb17b58adc49e0c6d11f125eaff36bfd01f /net | |
parent | 3fb72f1e6e6165c5f495e8dc11c5bbd14c73385c (diff) |
9p: Kill set but not used variable 'ret' in parse_opts()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/9p/trans_fd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c index aa5672b15eae..4a9084395d35 100644 --- a/net/9p/trans_fd.c +++ b/net/9p/trans_fd.c | |||
@@ -716,7 +716,6 @@ static int parse_opts(char *params, struct p9_fd_opts *opts) | |||
716 | substring_t args[MAX_OPT_ARGS]; | 716 | substring_t args[MAX_OPT_ARGS]; |
717 | int option; | 717 | int option; |
718 | char *options, *tmp_options; | 718 | char *options, *tmp_options; |
719 | int ret; | ||
720 | 719 | ||
721 | opts->port = P9_PORT; | 720 | opts->port = P9_PORT; |
722 | opts->rfd = ~0; | 721 | opts->rfd = ~0; |
@@ -744,7 +743,6 @@ static int parse_opts(char *params, struct p9_fd_opts *opts) | |||
744 | if (r < 0) { | 743 | if (r < 0) { |
745 | P9_DPRINTK(P9_DEBUG_ERROR, | 744 | P9_DPRINTK(P9_DEBUG_ERROR, |
746 | "integer field, but no integer?\n"); | 745 | "integer field, but no integer?\n"); |
747 | ret = r; | ||
748 | continue; | 746 | continue; |
749 | } | 747 | } |
750 | } | 748 | } |