diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-20 23:11:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-21 18:19:35 +0300 |
commit | 083a0326aee480008d52612d5118ff9c13301f6a (patch) | |
tree | c97f466496f980f652c5d813ba42b9a63d76e1da /security | |
parent | e1d20e22dd67cc2df0c235668ed42e91e6dddd58 (diff) | |
download | linux-083a0326aee480008d52612d5118ff9c13301f6a.tar.xz |
tcp: md5: hide unused variable
Changing from a memcpy to per-member comparison left the
size variable unused:
net/ipv4/tcp_ipv4.c: In function 'tcp_md5_do_lookup':
net/ipv4/tcp_ipv4.c:910:15: error: unused variable 'size' [-Werror=unused-variable]
This does not show up when CONFIG_IPV6 is enabled, but the
variable can be removed either way, along with the now unused
assignment.
Fixes: 6797318e623d ("tcp: md5: add an address prefix for key lookup")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions