net: Drop unecessary enc_features variable from tunnel segmentation functions
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 5 Feb 2016 23:27:31 +0000 (15:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 13:55:33 +0000 (08:55 -0500)
commitbef3c6c9374da40ec63698cd504474366a9de2ff
tree375eb33610e57eb3228baf0790b97858a7674e98
parenta060679c6b3da17dc9e95d0500f811de118ec901
net: Drop unecessary enc_features variable from tunnel segmentation functions

The enc_features variable isn't necessary since features isn't used
anywhere after we create enc_features so instead just use a destructive AND
on features itself and save ourselves the variable declaration.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/gre_offload.c
net/ipv4/udp_offload.c
This page took 0.024171 seconds and 5 git commands to generate.