Skip to content

Commit

Permalink
staging: r8188eu: remove unused HW_VAR_RF_TYPE
Browse files Browse the repository at this point in the history
After previous cleanups HW_VAR_RF_TYPE is unused now.
Remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
  • Loading branch information
MichaelStraube authored and intel-lab-lkp committed Nov 28, 2021
1 parent 5d0557f commit 2bbed14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/r8188eu/hal/usb_halinit.c
Expand Up @@ -1685,9 +1685,6 @@ void GetHwReg8188EU(struct adapter *Adapter, u8 variable, u8 *val)
case HW_VAR_DM_FLAG:
val[0] = podmpriv->SupportAbility;
break;
case HW_VAR_RF_TYPE:
val[0] = haldata->rf_type;
break;
case HW_VAR_FWLPS_RF_ON:
{
/* When we halt NIC, we should check if FW LPS is leave. */
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/r8188eu/include/hal_intf.h
Expand Up @@ -29,7 +29,6 @@ enum hw_variables {
HW_VAR_ACK_PREAMBLE,
HW_VAR_SEC_CFG,
HW_VAR_BCN_VALID,
HW_VAR_RF_TYPE,
HW_VAR_DM_FLAG,
HW_VAR_DM_FUNC_OP,
HW_VAR_DM_FUNC_SET,
Expand Down

0 comments on commit 2bbed14

Please sign in to comment.