Skip to content

Commit

Permalink
staging/rtl8187se: Remove unused functions PlatformIORead2Byte / Plat…
Browse files Browse the repository at this point in the history
…formIORead4Byte

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>
  • Loading branch information
Peter Huewe authored and Greg Kroah-Hartman committed Feb 15, 2013
1 parent aa341b6 commit a638d6a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions drivers/staging/rtl8187se/r8185b_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a638d6a

Please sign in to comment.