diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-11-13 15:37:21 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-01-06 13:52:12 -0800 |
commit | 26f0bcd1cfeb657cddcc708a646279fea0eefa20 (patch) | |
tree | 6e16528732c9b827e57dbf0e1fef2c94651ebad1 /drivers/staging | |
parent | 834e625578774cfc9dc2869600a5aea2a0d9d1bc (diff) |
Staging: rt2860: Fix minor compiler warnings
The build is "clean" now for this driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rt2860/2860_main_dev.c | 2 | ||||
-rw-r--r-- | drivers/staging/rt2860/common/cmm_data.c | 3 | ||||
-rw-r--r-- | drivers/staging/rt2860/sta/sync.c | 2 |
3 files changed, 1 insertions, 6 deletions
diff --git a/drivers/staging/rt2860/2860_main_dev.c b/drivers/staging/rt2860/2860_main_dev.c index d65bdbc6276..1e38f2d1f69 100644 --- a/drivers/staging/rt2860/2860_main_dev.c +++ b/drivers/staging/rt2860/2860_main_dev.c @@ -1022,7 +1022,7 @@ BOOLEAN RT28XXNetDevInit( IN RTMP_ADAPTER *pAd) { struct pci_dev *pci_dev = (struct pci_dev *)_dev_p; - CHAR *print_name; + const CHAR *print_name; ULONG csr_addr; diff --git a/drivers/staging/rt2860/common/cmm_data.c b/drivers/staging/rt2860/common/cmm_data.c index 292d34b31e1..ac549011ccb 100644 --- a/drivers/staging/rt2860/common/cmm_data.c +++ b/drivers/staging/rt2860/common/cmm_data.c @@ -943,9 +943,6 @@ BOOLEAN RTMP_FillTxBlkInfo( } return TRUE; - -FillTxBlkErr: - return FALSE; } diff --git a/drivers/staging/rt2860/sta/sync.c b/drivers/staging/rt2860/sta/sync.c index a94b4b7330e..d196f85395c 100644 --- a/drivers/staging/rt2860/sta/sync.c +++ b/drivers/staging/rt2860/sta/sync.c @@ -1300,8 +1300,6 @@ VOID PeerBeacon( { if (pAd->StaCfg.Adhoc20NJoined == FALSE) { - UCHAR ByteValue = 0; - pAd->CommonCfg.CentralChannel = pAd->CommonCfg.Channel; pAd->StaCfg.Adhoc20NJoined = TRUE; |