diff options
author | Colin King <colin.king@canonical.com> | 2016-02-13 18:57:16 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-04-05 21:52:14 -0400 |
commit | afb8ece4326f2151771f4c40b8d9f799cee5ae6e (patch) | |
tree | 3bc89a3216a745e044968e44139a764221ee3fd2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4da46cebbd3b4dc445195a9672c99c1353af5695 (diff) |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions