diff options
author | 2016-02-13 23:57:16 +0000 | |
---|---|---|
committer | 2016-04-05 18:52:14 -0700 | |
commit | afb8ece4326f2151771f4c40b8d9f799cee5ae6e (patch) | |
tree | 3bc89a3216a745e044968e44139a764221ee3fd2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/core/dev: Warn on a too-short GRO frame (diff) | |
download | linux-dev-afb8ece4326f2151771f4c40b8d9f799cee5ae6e.tar.xz linux-dev-afb8ece4326f2151771f4c40b8d9f799cee5ae6e.zip |
i40e: remove redundant check on vsi->active_vlans
active_vlans is an unsigned long array, hence a null check on this
array is superfluous and can be removed.
Detected with static analysis by smatch:
drivers/net/ethernet/intel/i40e/i40e_debugfs.c:386
i40e_dbg_dump_vsi_seid() warn: this array is probably
non-NULL. 'vsi->active_vlans'
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions