]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d89ab14f63467435363126ecc5d07cba71935c1
tree160d914a2cb6f75fb715e962b5ff4fe6f038e479
parentc58a5bb51462d92d20e1fc093731241eae1c23e1
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