diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-28 14:19:10 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:29 (GMT) |
commit | f19fd3357768b5964167d5ad9139b4f619007dc7 (patch) | |
tree | 0f55ed57b18d57b15dda328d0a6e753aac8d0ec5 /drivers/staging/rtl8187se/r8180_rtl8225z2.c | |
parent | 5474405fd68ba1b7516d1cdaa68369e5e2883d6e (diff) | |
download | linux-fsl-qoriq-f19fd3357768b5964167d5ad9139b4f619007dc7.tar.xz |
Staging: rtl8187se: remove CONFIG_RTL8185B ifdefs
CONFIG_RTL8185B is defined in drivers/staging/rtl8187se/r8180_hw.h.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/rtl8187se/r8180_rtl8225z2.c')
-rw-r--r-- | drivers/staging/rtl8187se/r8180_rtl8225z2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/rtl8187se/r8180_rtl8225z2.c b/drivers/staging/rtl8187se/r8180_rtl8225z2.c index 10978ea..485b1b3 100644 --- a/drivers/staging/rtl8187se/r8180_rtl8225z2.c +++ b/drivers/staging/rtl8187se/r8180_rtl8225z2.c @@ -16,7 +16,6 @@ #include "ieee80211/dot11d.h" -#ifdef CONFIG_RTL8185B extern u8 rtl8225_agc[]; @@ -574,7 +573,6 @@ void rtl8225z2_SetTXPowerLevel(struct net_device *dev, short ch) max_ofdm_power_level = 25; // 12 -> 25 min_ofdm_power_level = 10; -#ifdef CONFIG_RTL8185B if(cck_power_level > 35) { @@ -587,7 +585,6 @@ void rtl8225z2_SetTXPowerLevel(struct net_device *dev, short ch) //printk("CCK TX power is %x\n", (ZEBRA2_CCK_OFDM_GAIN_SETTING[cck_power_level])); force_pci_posting(dev); mdelay(1); -#endif /* OFDM power setting */ // Old: // if(ofdm_power_level > max_ofdm_power_level) @@ -1536,5 +1533,4 @@ void rtl8225z4_rf_wakeup(struct net_device *dev) //printk("=========>%s()\n", __func__); MgntActSet_RF_State(dev, eRfOn, RF_CHANGE_BY_PS); } -#endif |