diff options
author | Chaehyun Lim <chaehyun.lim@gmail.com> | 2015-09-22 22:47:45 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-29 02:32:37 +0200 |
commit | 74a443e0940a57ee8f360692dc3bfbc551dee6c0 (patch) | |
tree | 3a91cd2f9667805625c1f2e1a000c92ce0e46b26 /drivers/staging/wilc1000/coreconfigurator.c | |
parent | a1f7f64244aa15e76f794d1bd4f346c852882248 (diff) |
staging: wilc1000: parse_network_info: remove s32Error
s32Error is defined, but not used anywhere in this function.
Then just delete it and return 0 at the end of this function.
Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/coreconfigurator.c')
-rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index 3c71b9f008f6..68e3c7f223bb 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -362,7 +362,6 @@ u8 get_current_channel(u8 *pu8msa, u16 u16RxLen) */ s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo) { - s32 s32Error = 0; tstrNetworkInfo *pstrNetworkInfo = NULL; u8 u8MsgType = 0; u8 u8MsgID = 0; @@ -466,7 +465,7 @@ s32 parse_network_info(u8 *pu8MsgBuffer, tstrNetworkInfo **ppstrNetworkInfo) *ppstrNetworkInfo = pstrNetworkInfo; - return s32Error; + return 0; } /** |