Commit 26f0bcd1 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: rt2860: Fix minor compiler warnings

The build is "clean" now for this driver.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 834e6255
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment