diff options
author | 2015-07-28 18:20:13 -0400 | |
---|---|---|
committer | 2015-07-29 18:37:40 -0700 | |
commit | c20afae75c32ec69eccc4ee432fa27d426e85a83 (patch) | |
tree | 2ac8fd5f33a732848b76747959de9b33af3db7ad /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: netcp: fix cleanup interface list in netcp_remove() (diff) | |
download | wireguard-linux-c20afae75c32ec69eccc4ee432fa27d426e85a83.tar.xz wireguard-linux-c20afae75c32ec69eccc4ee432fa27d426e85a83.zip |
net: netcp: ethss: fix up incorrect use of list api
The code seems to assume a null is returned when the list is empty
from first_sec_slave() to break the loop which is incorrect. Fix the
code by using list_empty().
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions