diff options
author | 2017-03-24 10:08:06 -0700 | |
---|---|---|
committer | 2017-03-24 20:49:30 -0700 | |
commit | d2e64dbbe95b2b51eb723134274de1d3f30bce80 (patch) | |
tree | 4585674400a510effc25463543b67f101dd31e34 /net/core/dev.c | |
parent | tcp: Record Rx hash and NAPI ID in tcp_child_process (diff) | |
download | linux-dev-d2e64dbbe95b2b51eb723134274de1d3f30bce80.tar.xz linux-dev-d2e64dbbe95b2b51eb723134274de1d3f30bce80.zip |
net: Only define skb_mark_napi_id in one spot instead of two
Instead of defining two versions of skb_mark_napi_id I think it is more
readable to just match the format of the sk_mark_napi_id functions and just
wrap the contents of the function instead of defining two versions of the
function. This way we can save a few lines of code since we only need 2 of
the ifdef/endif but needed 5 for the extra function declaration.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions