staging: wilc1000: fixes unnecessary variable replacement
authorLeo Kim <leo.kim@atmel.com>
Mon, 19 Oct 2015 09:26:11 +0000 (18:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Oct 2015 01:12:58 +0000 (18:12 -0700)
commit771788078a5c20bb1979e3ad2a6ef6a78e1044f9
tree160d914a2cb6f75fb715e962b5ff4fe6f038e479
parent9f3295a2dd08a28762bc627f5c3d57409b34474d
staging: wilc1000: fixes unnecessary variable replacement

This patch removes an unnecessary variable use for the errors and
returns errors directly without a result variable.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c