aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHuang Guobin <[email protected]>2020-09-17 08:30:19 -0400
committerKalle Valo <[email protected]>2020-09-21 16:02:13 +0300
commit55bd149978679742374c800e56e8f6bc74378bbe (patch)
tree0f63c90a48fa750f3716ec9745edda19864717bf /tools/perf/scripts/python
parent41650c45fbd2d687c5d140be1779600d84201b72 (diff)
net: wilc1000: clean up resource in error path of init mon interface
The wilc_wfi_init_mon_int() forgets to clean up resource when register_netdevice() failed. Add the missed call to fix it. And the return value of netdev_priv can't be NULL, so remove the unnecessary error handling. Fixes: 588713006ea4 ("staging: wilc1000: avoid the use of 'wilc_wfi_mon' static variable") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Huang Guobin <[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