]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: wilc_wfi_cfgoperations.c : removes unused local variables
authorLeo Kim <leo.kim@atmel.com>
Mon, 12 Oct 2015 07:55:38 +0000 (16:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:58:01 +0000 (20:58 -0700)
commitff79650a9cb4b7f47522d4c7f1d97e26c9ef40e0
tree28200d311c9f6aad4ceb7d5b1622126d3ebf7bba
parentea414b82990741220f5e05ec98363bc8e93de722
staging: wilc1000: wilc_wfi_cfgoperations.c : removes unused local variables

This patch removes useless local variable, s32Error and returns directly
zero from wilc_wfi_cfgoperations.c and also removes incorrect break in
switch-case statement. The break is not useless which is being called right
after return statement.

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/wilc_wfi_cfgoperations.c