]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: MAX_AGGR_NUM is not used
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 27 Feb 2015 20:45:34 +0000 (15:45 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 17:54:24 +0000 (09:54 -0800)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_phycfg.c
drivers/staging/rtl8723au/include/Hal8723APhyCfg.h

index 9f0370da635769f2e72212c241580fea5d611a9b..6d597169c11cd954df40ca284cc7e1a6d07283a5 100644 (file)
@@ -426,7 +426,6 @@ int PHY_MACConfig8723A(struct rtw_adapter *Adapter)
        ODM_ReadAndConfig_MAC_REG_8723A(&pHalData->odmpriv);
 
        /*  2010.07.13 AMPDU aggregation number 9 */
-       /* rtw_write16(Adapter, REG_MAX_AGGR_NUM, MAX_AGGR_NUM); */
        rtl8723au_write8(Adapter, REG_MAX_AGGR_NUM, 0x0A);
        if (pHalData->rf_type == RF_2T2R &&
            BOARD_USB_DONGLE == pHalData->BoardType)
index f1b8f2f8cc9bcc713ca5f43cdd115f311b3545b8..bcf36579f43aea293b36d54068c4aff0a48ff8b5 100644 (file)
@@ -16,9 +16,6 @@
 #ifndef __INC_HAL8723PHYCFG_H__
 #define __INC_HAL8723PHYCFG_H__
 
-/*--------------------------Define Parameters-------------------------------*/
-#define MAX_AGGR_NUM   0x0909
-
 /*------------------------------Define structure----------------------------*/
 enum RF_RADIO_PATH {
        RF_PATH_A = 0,                  /* Radio Path A */