From: Jes Sorensen Date: Thu, 17 Jul 2014 20:59:49 +0000 (+0200) Subject: staging: rtl8723au: Remove write-only variable UsbRxHighSpeedMode X-Git-Tag: firefly_0821_release~176^2~3491^2~586 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ef03600cae2dec4e5225b18e9ffbcdd5bc56d73c;p=firefly-linux-kernel-4.4.55.git staging: rtl8723au: Remove write-only variable UsbRxHighSpeedMode Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/hal/usb_halinit.c b/drivers/staging/rtl8723au/hal/usb_halinit.c index d8f9f27e09ac..227a3637ea46 100644 --- a/drivers/staging/rtl8723au/hal/usb_halinit.c +++ b/drivers/staging/rtl8723au/hal/usb_halinit.c @@ -520,9 +520,6 @@ static void InitUsbAggregationSetting(struct rtw_adapter *Adapter) /* Rx aggregation setting */ usb_AggSettingRxUpdate(Adapter); - - /* 201/12/10 MH Add for USB agg mode dynamic switch. */ - pHalData->UsbRxHighSpeedMode = false; } static void _InitOperationMode(struct rtw_adapter *Adapter) diff --git a/drivers/staging/rtl8723au/include/rtl8723a_hal.h b/drivers/staging/rtl8723au/include/rtl8723a_hal.h index 344b7085f877..066dc9c5eb0f 100644 --- a/drivers/staging/rtl8723au/include/rtl8723a_hal.h +++ b/drivers/staging/rtl8723au/include/rtl8723a_hal.h @@ -384,9 +384,6 @@ struct hal_data_8723a { u8 OutEpQueueSel; u8 OutEpNumber; - /* 2010/12/10 MH Add for USB aggreation mode dynamic shceme. */ - bool UsbRxHighSpeedMode; - /* 2010/11/22 MH Add for slim combo debug mode selective. */ /* This is used for fix the drawback of CU TSMC-A/UMC-A cut. HW auto suspend ability. Close BT clock. */ bool SlimComboDbg;