diff options
author | Maxim Mikityanskiy <maxtram95@gmail.com> | 2012-11-13 17:28:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-13 20:38:29 (GMT) |
commit | 5c0ec2497fa2dcfc97907b92094cecab1af8943f (patch) | |
tree | adf356a8a2d6e4de4de488569af7c23e7e19e6a6 /drivers/staging/rtl8187se/r8180_rtl8225z2.c | |
parent | 4f29ef050848245f7c180b95ccf67dfcd76b1fd8 (diff) | |
download | linux-fsl-qoriq-5c0ec2497fa2dcfc97907b92094cecab1af8943f.tar.xz |
staging: rtl8187se: Removed dead functions
Removed stale functions that are never called
Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_rtl8225z2.c')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_rtl8225z2.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/rtl8187se/r8180_rtl8225z2.c b/drivers/staging/rtl8187se/r8180_rtl8225z2.c index d28c1d9..a369a3d 100644 --- a/drivers/staging/rtl8187se/r8180_rtl8225z2.c +++ b/drivers/staging/rtl8187se/r8180_rtl8225z2.c @@ -412,22 +412,6 @@ static u32 read_rtl8225(struct net_device *dev, u8 adr) return dataRead; } -short rtl8225_is_V_z2(struct net_device *dev) -{ - short vz2 = 1; - - if (read_rtl8225(dev, 8) != 0x588) - vz2 = 0; - else /* reg 9 pg 1 = 24 */ - if (read_rtl8225(dev, 9) != 0x700) - vz2 = 0; - - /* sw back to pg 0 */ - write_rtl8225(dev, 0, 0xb7); - - return vz2; -} - void rtl8225z2_rf_close(struct net_device *dev) { RF_WriteReg(dev, 0x4, 0x1f); |