projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99517e3
)
9p: Kill unused variable 'ret' in trans_rdma.c:parse_opts()
author
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 21:45:29 +0000
(17:45 -0400)
committer
David S. Miller
<davem@davemloft.net>
Thu, 19 May 2011 21:45:29 +0000
(17:45 -0400)
Probably just cut and pasted from the other parse_opts() implementations
in the 9p sources.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/9p/trans_rdma.c
patch
|
blob
|
blame
|
history
diff --git
a/net/9p/trans_rdma.c
b/net/9p/trans_rdma.c
index 150e0c4bbf40287f263e3eba1c03245bce22cb38..844a7a5607e3d2ee985f80b18577ac2b6ff4be62 100644
(file)
--- 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)
substring_t args[MAX_OPT_ARGS];
int option;
char *options, *tmp_options;
- int ret;
opts->port = P9_PORT;
opts->sq_depth = P9_RDMA_SQ_DEPTH;
@@
-195,7
+194,6
@@
static int parse_opts(char *params, struct p9_rdma_opts *opts)
if (r < 0) {
P9_DPRINTK(P9_DEBUG_ERROR,
"integer field, but no integer?\n");
- ret = r;
continue;
}
switch (token) {