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

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

netfilter: nf_conntrack_standalone: Fix set-but-unused variables.



The variable 'ret' is set but unused in ct_seq_show().

This was obviously meant to be used to propagate error codes
to the caller, so make it so.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d87d7fb3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -245,7 +245,7 @@ static int ct_seq_show(struct seq_file *s, void *v)
	ret = 0;
release:
	nf_ct_put(ct);
	return 0;
	return ret;
}

static const struct seq_operations ct_seq_ops = {