wlcore: spi: remove unnecessary variable
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Fri, 9 Jun 2017 03:24:30 +0000 (22:24 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 13 Jun 2017 07:06:22 +0000 (10:06 +0300)
commitc48c281e7236fc8769dd62e6b13ba090a546027d
treee9b4f969232f98771235ad951bec77ccaca04eb7
parent078b30da3f074f2e9ebcf1a18e993b27e22eb3ba
wlcore: spi: remove unnecessary variable

Remove unnecessary variable and refactor the code.

Addresses-Coverity-ID: 1365000
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ti/wlcore/spi.c