mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 08:39:08 -04:00
staging: r8188eu: pMacPhyMode is not used
pMacPhyMode is not used. Remove it from odm_dm_struct and remove related dead code. Acked-by: Martin Kaiser <martin@kaiser.cx> Acked-by: Phillip Potter <phil@philpotter.co.uk> Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20211015163507.9091-7-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
79b1186dd9
commit
24198f2ffd
@@ -231,9 +231,6 @@ void ODM_CmnInfoHook(struct odm_dm_struct *pDM_Odm, enum odm_common_info_def Cmn
|
||||
/* */
|
||||
switch (CmnInfo) {
|
||||
/* Dynamic call by reference pointer. */
|
||||
case ODM_CMNINFO_MAC_PHY_MODE:
|
||||
pDM_Odm->pMacPhyMode = (u8 *)pValue;
|
||||
break;
|
||||
case ODM_CMNINFO_TX_UNI:
|
||||
pDM_Odm->pNumTxBytesUnicast = (u64 *)pValue;
|
||||
break;
|
||||
|
||||
@@ -269,7 +269,6 @@ enum odm_common_info_def {
|
||||
|
||||
/* Dynamic value: */
|
||||
/* POINTER REFERENCE----------- */
|
||||
ODM_CMNINFO_MAC_PHY_MODE, /* ODM_MAC_PHY_MODE_E */
|
||||
ODM_CMNINFO_TX_UNI,
|
||||
ODM_CMNINFO_RX_UNI,
|
||||
ODM_CMNINFO_WM_MODE, /* ODM_WIRELESS_MODE_E */
|
||||
@@ -621,8 +620,6 @@ struct odm_dm_struct {
|
||||
bool bool_temp;
|
||||
struct adapter *adapter_temp;
|
||||
|
||||
/* MAC PHY Mode SMSP/DMSP/DMDP = 0/1/2 */
|
||||
u8 *pMacPhyMode;
|
||||
/* TX Unicast byte count */
|
||||
u64 *pNumTxBytesUnicast;
|
||||
/* RX Unicast byte count */
|
||||
|
||||
Reference in New Issue
Block a user