summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-09-04 05:56:26 +0300
committerDavid S. Miller <davem@davemloft.net>2018-09-06 08:14:47 +0300
commit9e7e6cabf371cc008cb2244a04c012b516753693 (patch)
tree78fdf499b85e1e37860655fbb34c2df2b738a2b0 /tools/perf/scripts/python/export-to-sqlite.py
parent428f944bd58607021b5a1f85d145c0b50f908c6f (diff)
downloadlinux-9e7e6cabf371cc008cb2244a04c012b516753693.tar.xz
failover: Add missing check to validate 'slave_dev' in net_failover_slave_unregister
Fixes gcc '-Wunused-but-set-variable' warning: drivers/net/net_failover.c: In function 'net_failover_slave_unregister': drivers/net/net_failover.c:598:35: warning: variable 'primary_dev' set but not used [-Wunused-but-set-variable] There should check the validity of 'slave_dev'. Fixes: cfc80d9a1163 ("net: Introduce net_failover driver") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Sridhar Samudrala <sridhar.samudrala@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions