commit | cf484f9f91f702e61eb47f7b142de6edc33a4a88 | [log] [tgz] |
---|---|---|
author | Magnus Karlsson <magnus.karlsson@intel.com> | Fri Aug 31 13:40:01 2018 +0200 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sat Sep 01 01:38:16 2018 +0200 |
tree | 1a8dd159d683a9d116ff600bdb2c7989438f77c6 | |
parent | 9746b1ee2edcabfb8f40d5311f23ac2f01f152ed [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>