aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Dewar <[email protected]>2020-09-26 18:45:58 +0100
committerKalle Valo <[email protected]>2020-09-29 11:25:30 +0300
commit1d2a85382282e7c77cbde5650335c3ffc6073fa1 (patch)
treec589b3dffd511b86cc91cc9aed9517963fb5e1ca /tools/perf/scripts/python
parent42af278bff023a0bc852cb2c2758da72ed3e85cc (diff)
wl3501_cs: Remove unnecessary NULL check
In wl3501_detach(), link->priv is checked for a NULL value before being passed to free_netdev(). However, it cannot be NULL at this point as it has already been passed to other functions, so just remove the check. Addresses-Coverity: CID 710499: Null pointer dereferences (REVERSE_INULL) Signed-off-by: Alex Dewar <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions