Commit dd33a865 authored by Glen Lee's avatar Glen Lee Committed by Greg Kroah-Hartman
Browse files

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: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarTony Cho <tony.cho@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b701da39
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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;
}