Skip to contentSkip to conversation

staging: r8188eu: remove unused enum odm_h2c_cmd

PATCH In review Michael Straube 1 participant 2 messages Dec 27, 2021 – Dec 28, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8188eu: remove unused enum odm_h2c_cmd

The enum odm_h2c_cmd is not used in this driver. Remove it.

---
 drivers/staging/r8188eu/include/odm_interface.h | 7 -------
 1 file changed, 7 deletions(-)
drivers/staging/r8188eu/include/odm_interface.h +0 -7
index 64c29c1da19d..e27ba77577a7 100644
@@ -4,13 +4,6 @@
 #ifndef	__ODM_INTERFACE_H__
 #define __ODM_INTERFACE_H__
 
-enum odm_h2c_cmd {
-	ODM_H2C_RSSI_REPORT = 0,
-	ODM_H2C_PSD_RESULT= 1,
-	ODM_H2C_PathDiv = 2,
-	ODM_MAX_H2CCMD
-};
-
 /*  2012/02/17 MH For non-MP compile pass only. Linux does not support workitem. */
 /*  Suggest HW team to use thread instead of workitem. Windows also support the feature. */
 typedef void (*RT_WORKITEM_CALL_BACK)(void *pContext);
Signature · 1 line
2.34.1
#1 lore raw
Quoted 15 lines · Michael Straube

The enum odm_h2c_cmd is not used in this driver. Remove it.

---
  drivers/staging/r8188eu/include/odm_interface.h | 7 -------
  1 file changed, 7 deletions(-)
drivers/staging/r8188eu/include/odm_interface.h +0 -0
index 64c29c1da19d..e27ba77577a7 100644
@@ -4,13 +4,6 @@
  #ifndef	__ODM_INTERFACE_H__
  #define __ODM_INTERFACE_H__
 

drivers/staging/r8188eu/include/odm_interface.h line 9

Quoted 10 lines
drivers/staging/r8188eu/include/odm_interface.h +0 -7
-enum odm_h2c_cmd {
-	ODM_H2C_RSSI_REPORT = 0,
-	ODM_H2C_PSD_RESULT= 1,
-	ODM_H2C_PathDiv = 2,
-	ODM_MAX_H2CCMD
-};
-
  /*  2012/02/17 MH For non-MP compile pass only. Linux does not support workitem. */
  /*  Suggest HW team to use thread instead of workitem. Windows also support the feature. */
  typedef void (*RT_WORKITEM_CALL_BACK)(void *pContext);

This patch is outdated, please drop it.
I'll resend it as part of a series.

Thanks,
Michael