summaryrefslogtreecommitdiffstats
path: root/net/xdp/xsk.c
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2018-08-31 13:40:01 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-09-01 01:38:16 +0200
commitcf484f9f91f702e61eb47f7b142de6edc33a4a88 (patch)
tree1a8dd159d683a9d116ff600bdb2c7989438f77c6 /net/xdp/xsk.c
parent9746b1ee2edcabfb8f40d5311f23ac2f01f152ed (diff)
i40e: fix possible compiler warning in xsk TX path
With certain gcc versions, it was possible to get the warning "'tx_desc' may be used uninitialized in this function" for the i40e_xmit_zc. This was not possible, however this commit simplifies the code path so that this warning is no longer emitted. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp/xsk.c')
0 files changed, 0 insertions, 0 deletions