diff options
author | 2021-09-07 11:46:58 +0100 | |
---|---|---|
committer | 2022-02-18 10:40:56 +0200 | |
commit | c305c94bdc18e45b5ad1db54da4269f8cbfdff6b (patch) | |
tree | 4ccf59605b74685465c03fb6751a6be514ef6b23 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iwlwifi: mvm: rfi: use kmemdup() to replace kzalloc + memcpy (diff) | |
download | linux-dev-c305c94bdc18e45b5ad1db54da4269f8cbfdff6b.tar.xz linux-dev-c305c94bdc18e45b5ad1db54da4269f8cbfdff6b.zip |
iwlwifi: Fix -EIO error code that is never returned
Currently the error -EIO is being assinged to variable ret when
the READY_BIT is not set but the function iwlagn_mac_start returns
0 rather than ret. Fix this by returning ret instead of 0.
Addresses-Coverity: ("Unused value")
Fixes: 7335613ae27a ("iwlwifi: move all mac80211 related functions to one place")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210907104658.14706-1-colin.king@canonical.com
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions