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)
commite80ec84d9352419a7c0482edfbf1b96eaa4c8b95
tree78c97cddb4ea93a30a5f411cd7a6bfa518ef3c86
parentc1762a3fe196483981f91b926f5f6ee18af757f2
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