diff options
author | Colin King <[email protected]> | 2016-02-13 23:57:16 +0000 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-04-05 18:52:14 -0700 |
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 <[email protected]>
Acked-by: Shannon Nelson <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions