mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 21:30:43 +00:00
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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d87d7fb381
commit
d88d7de098
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user