diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-19 17:45:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-19 17:45:29 -0400 |
commit | 5b5ed8afe48ca6916daabf9822e7a19fc19fdab4 (patch) | |
tree | 70918c203246e73133b276727984c78ed14da709 /net/9p | |
parent | 99517e3d7930f8cc064f7e9443b1b441e00e83d7 (diff) |
9p: Kill unused variable 'ret' in trans_rdma.c:parse_opts()
Probably just cut and pasted from the other parse_opts() implementations
in the 9p sources.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/9p')
-rw-r--r-- | net/9p/trans_rdma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c index 150e0c4bbf40..844a7a5607e3 100644 --- a/net/9p/trans_rdma.c +++ b/net/9p/trans_rdma.c | |||
@@ -167,7 +167,6 @@ static int parse_opts(char *params, struct p9_rdma_opts *opts) | |||
167 | substring_t args[MAX_OPT_ARGS]; | 167 | substring_t args[MAX_OPT_ARGS]; |
168 | int option; | 168 | int option; |
169 | char *options, *tmp_options; | 169 | char *options, *tmp_options; |
170 | int ret; | ||
171 | 170 | ||
172 | opts->port = P9_PORT; | 171 | opts->port = P9_PORT; |
173 | opts->sq_depth = P9_RDMA_SQ_DEPTH; | 172 | opts->sq_depth = P9_RDMA_SQ_DEPTH; |
@@ -195,7 +194,6 @@ static int parse_opts(char *params, struct p9_rdma_opts *opts) | |||
195 | if (r < 0) { | 194 | if (r < 0) { |
196 | P9_DPRINTK(P9_DEBUG_ERROR, | 195 | P9_DPRINTK(P9_DEBUG_ERROR, |
197 | "integer field, but no integer?\n"); | 196 | "integer field, but no integer?\n"); |
198 | ret = r; | ||
199 | continue; | 197 | continue; |
200 | } | 198 | } |
201 | switch (token) { | 199 | switch (token) { |