staging: wilc1000: delete unused global variables.
authorGlen Lee <glen.lee@atmel.com>
Wed, 16 Sep 2015 01:43:51 +0000 (10:43 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2015 04:34:44 +0000 (21:34 -0700)
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>
drivers/staging/wilc1000/coreconfigurator.c

index b514d095f0b8fc23d439302336372ebc70d28aa8..7936b49a1488e99427da2ea1704b19db4cbf8c37 100644 (file)
@@ -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;
 }
 
This page took 0.028663 seconds and 5 git commands to generate.