wcn36xx: drop unnecessary initialization of variables
authorDaniel Mack <daniel@zonque.org>
Fri, 29 Jun 2018 12:37:45 +0000 (14:37 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 2 Jul 2018 14:26:57 +0000 (17:26 +0300)
commitf0eea2772a6baf06961c6b0812bcb3adcce307a9
treeefe04138a7f110f6536c2b103cea549d09eac045
parent9a53d0b6f8c61b27e7071d75fb82cf707968f75a
wcn36xx: drop unnecessary initialization of variables

Initialization is unneccessary when the variable is written before it is
read. There were some occasions in which the driver would initialize `ret'
during declaration without need.

Purely a cosmetic change with no functional impact.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/main.c
drivers/net/wireless/ath/wcn36xx/smd.c