]> git.karo-electronics.de Git - karo-tx-linux.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)
commitaaed3290f9ffe1428ba8a7f4284f80a165cf453f
tree28200d311c9f6aad4ceb7d5b1622126d3ebf7bba
parentb68d820bb5f47a230998c59b6cc10a269a9f107a
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