Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging/rtl8187se: Remove unused functions PlatformIORead2Byte / PlatformIORead4Byte

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

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Peter Huewe and committed by
Greg Kroah-Hartman
a638d6af aa341b6a

-20
-20
drivers/staging/rtl8187se/r8185b_init.c
··· 175 175 } 176 176 } 177 177 178 - u16 PlatformIORead2Byte(struct net_device *dev, u32 offset) 179 - { 180 - u16 data = 0; 181 - 182 - data = read_nic_word(dev, offset); 183 - 184 - 185 - return data; 186 - } 187 - 188 - u32 PlatformIORead4Byte(struct net_device *dev, u32 offset) 189 - { 190 - u32 data = 0; 191 - 192 - data = read_nic_dword(dev, offset); 193 - 194 - 195 - return data; 196 - } 197 - 198 178 void SetOutputEnableOfRfPins(struct net_device *dev) 199 179 { 200 180 write_nic_word(dev, RFPinsEnable, 0x1bff);