From: Jes Sorensen Date: Sun, 30 Nov 2014 21:04:59 +0000 (-0500) Subject: staging: rtl8723au: Remove write only struct hal_data_8723a.interfaceIndex X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ec28fb8948dc2d25fcece4c89c2329a8f1503778;p=linux-beck.git staging: rtl8723au: Remove write only struct hal_data_8723a.interfaceIndex 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 ead676f8b684..027b42a9087e 100644 --- a/drivers/staging/rtl8723au/hal/usb_halinit.c +++ b/drivers/staging/rtl8723au/hal/usb_halinit.c @@ -84,8 +84,6 @@ void rtl8723au_chip_configure(struct rtw_adapter *padapter) struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter); struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter); - pHalData->interfaceIndex = pdvobjpriv->InterfaceNumber; - rtl8723au_set_queue_pipe_mapping(padapter, pdvobjpriv->RtNumInPipes, pdvobjpriv->RtNumOutPipes); diff --git a/drivers/staging/rtl8723au/include/rtl8723a_hal.h b/drivers/staging/rtl8723au/include/rtl8723a_hal.h index 72af134f74fd..5a70f2fd3ead 100644 --- a/drivers/staging/rtl8723au/include/rtl8723a_hal.h +++ b/drivers/staging/rtl8723au/include/rtl8723a_hal.h @@ -372,9 +372,6 @@ struct hal_data_8723a { /* 2010/08/09 MH Add CU power down mode. */ u8 pwrdown; - /* Add for dual MAC 0--Mac0 1--Mac1 */ - u32 interfaceIndex; - u8 OutEpQueueSel; u8 OutEpNumber;