From: David S. Miller Date: Thu, 19 May 2011 21:38:57 +0000 (-0400) Subject: 9p: Kill set but not used variable 'ret' in parse_opts() X-Git-Tag: MMI-PSA29.97-13-9~19691^2~32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=99517e3d7930f8cc064f7e9443b1b441e00e83d7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 9p: Kill set but not used variable 'ret' in parse_opts() Signed-off-by: David S. Miller --- 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) 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; } }