summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2021-02-23 15:47:07 -0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-06-18 09:04:44 -0700
commit37dc8fea8656f149e0fa5a03a2736b32350fe2b1 (patch)
treee883a1226633f728d2ca90539cf8c60b2acb7d61 /lib
parentc6e088bf30dccb9fb7b7df7c394a2fe10eb3a27a (diff)
downloadlinux-stable-37dc8fea8656f149e0fa5a03a2736b32350fe2b1.tar.gz
linux-stable-37dc8fea8656f149e0fa5a03a2736b32350fe2b1.tar.bz2
linux-stable-37dc8fea8656f149e0fa5a03a2736b32350fe2b1.zip
iavf: 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> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions