]> git.baikalelectronics.ru Git - kernel.git/commit
udp: Remove unused parameter (exact_dif)
authorTim Beale <timbeale@catalyst.net.nz>
Fri, 14 Jun 2019 04:41:26 +0000 (16:41 +1200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 02:52:07 +0000 (19:52 -0700)
commit9589d1ec50bbc433d5505d27924388f99b3535d6
tree2743e8a66d728e1dbeb3decf2b13864e135aa4a8
parent3b70e864a907ed49744b53c04fafcb8330278f6f
udp: Remove unused parameter (exact_dif)

Originally this was used by the VRF logic in compute_score(), but that
was later replaced by udp_sk_bound_dev_eq() and the parameter became
unused.

Note this change adds an 'unused variable' compiler warning that will be
removed in the next patch (I've split the removal in two to make review
slightly easier).

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c
net/ipv6/udp.c