diff options
author | 2021-02-23 15:47:06 -0800 | |
---|---|---|
committer | 2021-06-18 09:04:44 -0700 | |
commit | c6e088bf30dccb9fb7b7df7c394a2fe10eb3a27a (patch) | |
tree | 539693249dfe42dca422addec0013c7658205bdf /net/unix/af_unix.c | |
parent | ice: report hash type such as L2/L3/L4 (diff) | |
download | wireguard-linux-c6e088bf30dccb9fb7b7df7c394a2fe10eb3a27a.tar.xz wireguard-linux-c6e088bf30dccb9fb7b7df7c394a2fe10eb3a27a.zip |
i40e: clean up packet type lookup table
Remove the unused ptype struct value, which makes table init easier for
the zero entries, and use ranged initializer to remove a bunch of code
(works with gcc and clang). There is no significant functional change.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Dave Switzer <david.switzer@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions