mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 06:18:45 -04:00
ath9k: remove duplicate assignment of variable ah
ah is written twice with the same value, remove one of the redundant assignments to ah. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
committed by
Kalle Valo
parent
71f5137bf0
commit
47f58b1ebe
@@ -477,7 +477,7 @@ static void ath9k_eeprom_request_cb(const struct firmware *eeprom_blob,
|
||||
static int ath9k_eeprom_request(struct ath_softc *sc, const char *name)
|
||||
{
|
||||
struct ath9k_eeprom_ctx ec;
|
||||
struct ath_hw *ah = ah = sc->sc_ah;
|
||||
struct ath_hw *ah = sc->sc_ah;
|
||||
int err;
|
||||
|
||||
/* try to load the EEPROM content asynchronously */
|
||||
|
||||
Reference in New Issue
Block a user