Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b5ed8af authored by David S. Miller's avatar David S. Miller
Browse files

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 99517e3d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -167,7 +167,6 @@ static int parse_opts(char *params, struct p9_rdma_opts *opts)
	substring_t args[MAX_OPT_ARGS];
	substring_t args[MAX_OPT_ARGS];
	int option;
	int option;
	char *options, *tmp_options;
	char *options, *tmp_options;
	int ret;


	opts->port = P9_PORT;
	opts->port = P9_PORT;
	opts->sq_depth = P9_RDMA_SQ_DEPTH;
	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) {
		if (r < 0) {
			P9_DPRINTK(P9_DEBUG_ERROR,
			P9_DPRINTK(P9_DEBUG_ERROR,
				   "integer field, but no integer?\n");
				   "integer field, but no integer?\n");
			ret = r;
			continue;
			continue;
		}
		}
		switch (token) {
		switch (token) {