]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6287990fa2f8ca4603625c75727f1162be90b01f
tree0716a5ed97d9eaa50322b18de83b04d3a601471e
parent141b546684211542f7c7e273bbd9afde7243cbb3
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