Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ee1ad7b authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: device_set_options remove dead variables



uConnectionRate
wRTSThreshold
byOpMode
b11hEnable
uChannel

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3d42d26c
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -335,17 +335,14 @@ struct vnt_private {


	unsigned char byMinChannel;
	unsigned char byMinChannel;
	unsigned char byMaxChannel;
	unsigned char byMaxChannel;
	unsigned int	uConnectionRate;


	unsigned char byPreambleType;
	unsigned char byPreambleType;
	unsigned char byShortPreamble;
	unsigned char byShortPreamble;


	unsigned short wCurrentRate;
	unsigned short wCurrentRate;
	unsigned short wRTSThreshold;
	unsigned char byShortRetryLimit;
	unsigned char byShortRetryLimit;
	unsigned char byLongRetryLimit;
	unsigned char byLongRetryLimit;
	enum nl80211_iftype op_mode;
	enum nl80211_iftype op_mode;
	unsigned char byOpMode;
	bool bBSSIDFilter;
	bool bBSSIDFilter;
	unsigned short wMaxTransmitMSDULifetime;
	unsigned short wMaxTransmitMSDULifetime;


@@ -442,13 +439,8 @@ struct vnt_private {


	unsigned char abyEEPROM[EEP_MAX_CONTEXT_SIZE]; /* unsigned long alignment */
	unsigned char abyEEPROM[EEP_MAX_CONTEXT_SIZE]; /* unsigned long alignment */


	/* for 802.11h */
	bool b11hEnable;

	unsigned short wBeaconInterval;
	unsigned short wBeaconInterval;


	unsigned int	uChannel;

	struct iw_statistics	wstats;		/* wireless stats */
	struct iw_statistics	wstats;		/* wireless stats */
};
};


+0 −5
Original line number Original line Diff line number Diff line
@@ -231,16 +231,11 @@ device_set_options(struct vnt_private *pDevice)
	pDevice->bUpdateBBVGA = true;
	pDevice->bUpdateBBVGA = true;
	pDevice->byPreambleType = 0;
	pDevice->byPreambleType = 0;


	pr_debug(" uChannel= %d\n", (int)pDevice->uChannel);
	pr_debug(" byOpMode= %d\n", (int)pDevice->byOpMode);
	pr_debug(" wRTSThreshold= %d\n", (int)pDevice->wRTSThreshold);
	pr_debug(" byShortRetryLimit= %d\n", (int)pDevice->byShortRetryLimit);
	pr_debug(" byShortRetryLimit= %d\n", (int)pDevice->byShortRetryLimit);
	pr_debug(" byLongRetryLimit= %d\n", (int)pDevice->byLongRetryLimit);
	pr_debug(" byLongRetryLimit= %d\n", (int)pDevice->byLongRetryLimit);
	pr_debug(" byPreambleType= %d\n", (int)pDevice->byPreambleType);
	pr_debug(" byPreambleType= %d\n", (int)pDevice->byPreambleType);
	pr_debug(" byShortPreamble= %d\n", (int)pDevice->byShortPreamble);
	pr_debug(" byShortPreamble= %d\n", (int)pDevice->byShortPreamble);
	pr_debug(" uConnectionRate= %d\n", (int)pDevice->uConnectionRate);
	pr_debug(" byBBType= %d\n", (int)pDevice->byBBType);
	pr_debug(" byBBType= %d\n", (int)pDevice->byBBType);
	pr_debug(" pDevice->b11hEnable= %d\n", (int)pDevice->b11hEnable);
	pr_debug(" pDevice->bDiversityRegCtlON= %d\n",
	pr_debug(" pDevice->bDiversityRegCtlON= %d\n",
		 (int)pDevice->bDiversityRegCtlON);
		 (int)pDevice->bDiversityRegCtlON);
}
}