diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-08-18 16:09:27 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-08-19 22:18:51 +0300 |
commit | 9e5f10fe577be7974c721c0c2050fa6c967d4565 (patch) | |
tree | 0893a8aba43cccbc48c48afe49648be729461aef /drivers/net/wireless/mediatek/mt76/mt7921/mcu.h | |
parent | 185f690f2989d522b25e169371cb173ab5257199 (diff) | |
download | linux-9e5f10fe577be7974c721c0c2050fa6c967d4565.tar.xz |
octeontx2-af: remove redudant second error check on variable err
A recent change added error checking messages and failed to remove one
of the previous error checks. There are now two checks on variable err
so the second one is redundant dead code and can be removed.
Addresses-Coverity: ("Logically dead code")
Fixes: a83bdada06bf ("octeontx2-af: Add debug messages for failures")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210818130927.33895-1-colin.king@canonical.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt7921/mcu.h')
0 files changed, 0 insertions, 0 deletions