ath9k_htc: Replace a variable initialisation by an assignment in ath9k_htc_set_channel()
authorMarkus Elfring <elfring@users.sourceforge.net>
Fri, 1 Jan 2016 18:09:32 +0000 (19:09 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 19 Apr 2016 15:10:47 +0000 (18:10 +0300)
commitf286dd899b4f1445279af6b5965c335ae6f998f7
tree0716a5ed97d9eaa50322b18de83b04d3a601471e
parent7e247a9e88dc811d0b7b6a70af1d741054772bc4
ath9k_htc: Replace a variable initialisation by an assignment in ath9k_htc_set_channel()

Replace an explicit initialisation for one local variable at the beginning
by a conditional assignment.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Reviewed-by: Oleksij Rempel <linux@rempel-privat.de>
Reviewed-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/htc_drv_main.c