iwlwifi: mvm: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Mon, 20 Apr 2020 22:24:49 +0000 (23:24 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 8 Jun 2020 11:39:00 +0000 (14:39 +0300)
commitce475a8fb2229ffdb14ae011625097b3d3a8e39d
tree3a3cda0ead0481291794285c0fa190be687e427d
parent0f736f3bec8db0603f625c8c377a5010a5a1b066
iwlwifi: mvm: remove redundant assignment to variable ret

The variable ret is being assigned with a value that is never read
and it is being updated later with a new value. The initialization is
redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200420222449.99481-1-colin.king@canonical.com
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rs.c