lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 25 Apr 2008 16:37:20 +0200
From:	Pavel Machek <pavel@....cz>
To:	kernel list <linux-kernel@...r.kernel.org>, kaszak@...il.com,
	lcostantino@...il.com, linux-wireless@...r.kernel.org
Subject: w35und: remove warnings


Remove some warnings.

---
commit b8ad3cb3e88202aea88c7fca3d4adfd1a0940808
tree eddd540a2b5779a95d05d6ad0ed1c2185d075631
parent dde5f03291e3dd8cb1f958134c57cfcd406ab748
author Pavel <pavel@....ucw.cz> Fri, 25 Apr 2008 16:35:36 +0200
committer Pavel <pavel@....ucw.cz> Fri, 25 Apr 2008 16:35:36 +0200

 .../net/wireless/winbond/winbondport/linux/wbusb.c |    4 +---
 drivers/net/wireless/winbond/winbondport/mds.c     |    8 --------
 drivers/net/wireless/winbond/winbondport/wbhal.c   |    4 ----
 drivers/net/wireless/winbond/winbondport/wblinux.c |    2 --
 4 files changed, 1 insertions(+), 17 deletions(-)

diff --git a/drivers/net/wireless/winbond/winbondport/linux/wbusb.c b/drivers/net/wireless/winbond/winbondport/linux/wbusb.c
index d883873..8c9451a 100644
--- a/drivers/net/wireless/winbond/winbondport/linux/wbusb.c
+++ b/drivers/net/wireless/winbond/winbondport/linux/wbusb.c
@@ -78,7 +78,6 @@ static void wbsoft_configure_filter(stru
 				     unsigned int *total_flags,
 				     int mc_count, struct dev_mc_list *mclist)
 {
-	static const u8 bcast[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF };
 	unsigned int bit_nr, new_flags;
 	u32 mc_filter[2];
 	int i;
@@ -129,9 +128,8 @@ static int wbsoft_start(struct ieee80211
 
 static int wbsoft_config(struct ieee80211_hw *dev, struct ieee80211_conf *conf)
 {
-	printk("wbsoft_config called\n");
-
 	ChanInfo ch;
+	printk("wbsoft_config called\n");
 
 	ch.band = 1;
 	ch.ChanNo = 1;	/* Should use channel_num, or something, as that is already pre-translated */
diff --git a/drivers/net/wireless/winbond/winbondport/mds.c b/drivers/net/wireless/winbond/winbondport/mds.c
index 743a2f2..66def9b 100644
--- a/drivers/net/wireless/winbond/winbondport/mds.c
+++ b/drivers/net/wireless/winbond/winbondport/mds.c
@@ -219,19 +219,12 @@ Mds_SendComplete(PADAPTER Adapter, PT02_
 {
 	PMDS	pMds = &Adapter->Mds;
 	phw_data_t	pHwData = &Adapter->sHwData;
-	PUCHAR	pTxBuffer;
 	u8	PacketId = (u8)pT02->T02_Tx_PktID;
 	unsigned char	SendOK = TRUE;
 	u8	RetryCount, TxRate;
-	u16	wIndex, wReasonCode;
-
 
 	if (pT02->T02_IgnoreResult) // Don't care the result
 		return;
-    #ifdef _PE_TX_DUMP_
-	WBDEBUG(("###  Tx complete, PacketId =%x, pT02->T02_Tx_PktID =%x\n",
-							PacketId, pT02->T02_Tx_PktID));
-    #endif	
 	if (pT02->T02_IsLastMpdu) {
 		//TODO: DTO -- get the retry count and fragment count
 		// Tx rate
@@ -300,7 +293,6 @@ Mds_HeaderCopy(PADAPTER Adapter, PDESCRI
 {
 	PMDS	pMds = &Adapter->Mds;
 	PUCHAR	src_buffer = pDes->buffer_address[0];//931130.5.g
-	PUCHAR	buffer;
 	PT00_DESCRIPTOR	pT00;
 	PT01_DESCRIPTOR	pT01;
 	u16	stmp;
diff --git a/drivers/net/wireless/winbond/winbondport/wbhal.c b/drivers/net/wireless/winbond/winbondport/wbhal.c
index 6cdc162..1cdd10c 100644
--- a/drivers/net/wireless/winbond/winbondport/wbhal.c
+++ b/drivers/net/wireless/winbond/winbondport/wbhal.c
@@ -211,8 +211,6 @@ void hal_set_current_channel_ex(  phw_da
 //---------------------------------------------------------------------------------------------------
 void hal_set_current_channel(  phw_data_t pHwData,  ChanInfo channel )
 {
-	PADAPTER	Adapter = pHwData->Adapter;
-
 	hal_set_current_channel_ex( pHwData, channel );
 }
 //---------------------------------------------------------------------------------------------------
@@ -867,8 +865,6 @@ void hal_rate_change(  phw_data_t pHwDat
 
 void hal_set_rf_power(phw_data_t pHwData, u8 PowerIndex)
 {
-	PADAPTER Adapter = pHwData->Adapter;
-
 	RFSynthesizer_SetPowerIndex( pHwData, PowerIndex );
 }
 
diff --git a/drivers/net/wireless/winbond/winbondport/wblinux.c b/drivers/net/wireless/winbond/winbondport/wblinux.c
index fd07130..d486508 100644
--- a/drivers/net/wireless/winbond/winbondport/wblinux.c
+++ b/drivers/net/wireless/winbond/winbondport/wblinux.c
@@ -79,8 +79,6 @@ WBLINUX_GetNextPacketCompleted(PADAPTER 
 void
 WBLINUX_Destroy(PADAPTER Adapter)
 {
-	PWBLINUX pWbLinux = &Adapter->WbLinux;
-
 	WBLINUX_stop( Adapter );
 	OS_SPIN_LOCK_FREE( &pWbNdis->SpinLock );
 #ifdef _PE_USB_INI_DUMP_

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ