diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2016-10-26 02:08:49 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-12-03 09:38:47 +0300 |
| commit | 6a112785fd18a954033fd030ce156501f15c8fa7 (patch) | |
| tree | 6f52b34ad56286984aabd60a1105e7b40d898cc0 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 7429c0bd0155c73e0c6ec8f16e440735209d24a5 (diff) | |
| download | linux-6a112785fd18a954033fd030ce156501f15c8fa7.tar.xz | |
i40e: remove second check of VLAN_N_VID in i40e_vlan_rx_add_vid
Replace a check of magic number 4095 with VLAN_N_VID. This
makes it obvious that a later check against VLAN_N_VID is
always true and can be removed.
Change-ID: I28998f127a61a529480ce63d8a07e266f6c63b7b
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
