]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Remove useless initialization in ath6kl_read_fwlogs()
authorRaja Mani <rmani@qca.qualcomm.com>
Thu, 12 Jan 2012 09:31:48 +0000 (15:01 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 13 Jan 2012 11:52:41 +0000 (13:52 +0200)
commit4de2efbb8852f96744f1d6a39da1d2b341b40ba1
tree78c97cddb4ea93a30a5f411cd7a6bfa518ef3c86
parent27c386f4bfe78f3da1e668c95dbdf6ee716497b7
ath6kl: Remove useless initialization in ath6kl_read_fwlogs()

ath6kl_read_fwlogs() assigns the value zero to the variable 'ret'
at the time of declaration. Later, return value of ath6kl_diag_read32()
repalces the init value. Hence removing useless zero assignment.

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/main.c