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

Commit a638d6af authored by Peter Huewe's avatar Peter Huewe Committed by Greg Kroah-Hartman
Browse files

staging/rtl8187se: Remove unused functions PlatformIORead2Byte / PlatformIORead4Byte



These two functions PlatformIORead2Byte and PlatformIORead4Byte are
unused and thus can be removed.

Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aa341b6a
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
@@ -175,26 +175,6 @@ void PlatformIOWrite4Byte(struct net_device *dev, u32 offset, u32 data)
	}
}

u16 PlatformIORead2Byte(struct net_device *dev, u32 offset)
{
	u16	data = 0;

	data = read_nic_word(dev, offset);


	return data;
}

u32 PlatformIORead4Byte(struct net_device *dev, u32 offset)
{
	u32	data = 0;

	data = read_nic_dword(dev, offset);


	return data;
}

void SetOutputEnableOfRfPins(struct net_device *dev)
{
	write_nic_word(dev, RFPinsEnable, 0x1bff);