]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8188eu: Remove function with empty definition _InitBeaconMaxError().
authornavin patidar <navin.patidar@gmail.com>
Sun, 18 May 2014 15:18:54 +0000 (20:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 16:48:53 +0000 (01:48 +0900)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/usb_halinit.c

index 617e4c68dfa11ead17a2dbf32fb400ccfce52b44..9ce617331ce9e605bfc4055af492d17fbf06560f 100644 (file)
@@ -420,10 +420,6 @@ static void _InitEDCA(struct adapter *Adapter)
        rtw_write32(Adapter, REG_EDCA_VO_PARAM, 0x002FA226);
 }
 
-static void _InitBeaconMaxError(struct adapter *Adapter, bool          InfraMode)
-{
-}
-
 static void _InitRDGSetting(struct adapter *Adapter)
 {
        rtw_write8(Adapter, REG_RD_CTRL, 0xFF);
@@ -830,12 +826,8 @@ static u32 rtl8188eu_hal_init(struct adapter *Adapter)
        InitUsbAggregationSetting(Adapter);
        _InitOperationMode(Adapter);/* todo */
        _InitBeaconParameters(Adapter);
-       _InitBeaconMaxError(Adapter, true);
-
-       /*  */
        /*  Init CR MACTXEN, MACRXEN after setting RxFF boundary REG_TRXFF_BNDY to patch */
        /*  Hw bug which Hw initials RxFF boundary size to a value which is larger than the real Rx buffer size in 88E. */
-       /*  */
        /*  Enable MACTXEN/MACRXEN block */
        value16 = rtw_read16(Adapter, REG_CR);
        value16 |= (MACTXEN | MACRXEN);