Staging: rt2860: Fix minor compiler warnings
The build is "clean" now for this driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
834e625578
commit
26f0bcd1cf
@ -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;
|
||||
|
||||
|
||||
|
@ -943,9 +943,6 @@ BOOLEAN RTMP_FillTxBlkInfo(
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
||||
FillTxBlkErr:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1300,8 +1300,6 @@ VOID PeerBeacon(
|
||||
{
|
||||
if (pAd->StaCfg.Adhoc20NJoined == FALSE)
|
||||
{
|
||||
UCHAR ByteValue = 0;
|
||||
|
||||
pAd->CommonCfg.CentralChannel = pAd->CommonCfg.Channel;
|
||||
|
||||
pAd->StaCfg.Adhoc20NJoined = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user