Staging: rtl8192su: remove RTL8192SU_USE_PARAM_TXPWR ifdefs
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 3 Jul 2009 14:07:14 +0000 (16:07 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:38 +0000 (12:01 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192su/Makefile
drivers/staging/rtl8192su/r8192U_core.c

index 3880461bea8ede82ce6ace6e042af1a3370ebe55..abdf53d9abad34ce2cebb0bfb6a31c6636691698 100644 (file)
@@ -12,7 +12,6 @@ EXTRA_CFLAGS += -DRTL8190_Download_Firmware_From_Header=1
 EXTRA_CFLAGS += -DRTL8192S_PREPARE_FOR_NORMAL_RELEASE
 EXTRA_CFLAGS += -DRTL8192SU_DISABLE_IQK=1
 
-EXTRA_CFLAGS += -DRTL8192SU_USE_PARAM_TXPWR=0
 EXTRA_CFLAGS += -DRTL8192SU_FPGA_UNSPECIFIED_NETWORK=0
 #EXTRA_CFLAGS += -DRTL8192SU_FPGA_2MAC_VERIFICATION #=0
 EXTRA_CFLAGS += -DRTL8192SU_ASIC_VERIFICATION
index 21d9d76bbebadb39625638c14e3916730c98ecaa..5c643d70c526d127e161192f49ee2de0dece2b6b 100644 (file)
@@ -5513,12 +5513,7 @@ rtl8192SU_ReadAdapterInfo8192SUsb(struct net_device* dev)
        else
        {
                priv->AutoloadFailFlag=FALSE;
-#if RTL8192SU_USE_PARAM_TXPWR
-               priv->bTXPowerDataReadFromEEPORM = FALSE;
-#else
                priv->bTXPowerDataReadFromEEPORM = TRUE;
-#endif
-
        }
        // Read IC Version && Channel Plan
        if(!priv->AutoloadFailFlag)