diff options
| author | 2015-09-16 10:43:51 +0900 | |
|---|---|---|
| committer | 2015-09-16 21:34:44 -0700 | |
| commit | dd33a8651e2cd248dfd9e519ebca535c5974be55 (patch) | |
| tree | a91611cceca28bb5b2f26dc1f9fcd96d75a55803 | |
| parent | staging: wilc1000: remove unnecessary extern function declaration (diff) | |
staging: wilc1000: delete unused global variables.
gstrConfigPktInfo, SemHandleSendPkt and SemHandlePktResp are never used in
the drivers. So just delete the variables and it's related code.
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Tony Cho <tony.cho@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/wilc1000/coreconfigurator.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/staging/wilc1000/coreconfigurator.c b/drivers/staging/wilc1000/coreconfigurator.c index b514d095f0b8..7936b49a1488 100644 --- a/drivers/staging/wilc1000/coreconfigurator.c +++ b/drivers/staging/wilc1000/coreconfigurator.c @@ -139,12 +139,6 @@ typedef struct { /*****************************************************************************/ /* Global Variables */ /*****************************************************************************/ -static struct semaphore SemHandleSendPkt; -static struct semaphore SemHandlePktResp; - - -static tstrConfigPktInfo gstrConfigPktInfo; - /* WID Switches */ static tstrWID gastrWIDs[] = { {WID_FIRMWARE_VERSION, WID_STR}, @@ -476,11 +470,6 @@ s32 CoreConfiguratorInit(void) PRINT_D(CORECONFIG_DBG, "CoreConfiguratorInit()\n"); - sema_init(&SemHandleSendPkt, 1); - sema_init(&SemHandlePktResp, 0); - - - memset((void *)(&gstrConfigPktInfo), 0, sizeof(tstrConfigPktInfo)); return s32Error; } |
