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

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;


+0 −3
Original line number Diff line number Diff line
@@ -943,9 +943,6 @@ BOOLEAN RTMP_FillTxBlkInfo(
	}

	return TRUE;

FillTxBlkErr:
	return FALSE;
}


+0 −2
Original line number Diff line number Diff line
@@ -1300,8 +1300,6 @@ VOID PeerBeacon(
						{
							if (pAd->StaCfg.Adhoc20NJoined == FALSE)
							{
								UCHAR	ByteValue = 0;

								pAd->CommonCfg.CentralChannel = pAd->CommonCfg.Channel;

								pAd->StaCfg.Adhoc20NJoined = TRUE;