summaryrefslogtreecommitdiffstats
path: root/drivers/net/netconsole.c
diff options
context:
space:
mode:
authorJohn Hurley <john.hurley@netronome.com>2017-12-19 17:58:26 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-19 14:52:12 -0500
commit574f1e9cccba27001d4a2c3761b78bca24977052 (patch)
tree401dc0837dcdea7b48043bbf40c9cfa60b553124 /drivers/net/netconsole.c
parentf988008a8654e0a2b748ba49ee9fa18069161f76 (diff)
downloadlinux-574f1e9cccba27001d4a2c3761b78bca24977052.tar.bz2
nfp: flower: remove unused tun_mask variable
The tunnel dest IP is required for separate offload to the NFP. It is already verified that a dest IP must be present and must be an exact match in the flower rule. Therefore, we can just extract the IP from the generated offload rule and remove the unused mask variable. The function is then no longer required to return the IP separately. Because tun_dst is localised to tunnel matches, move the declaration to the tunnel if branch. Signed-off-by: John Hurley <john.hurley@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions