[PATCH] staging: r8188eu: remove unused enum odm_h2c_cmd

Michael Straube posted 1 patch 4 years, 6 months ago
drivers/staging/r8188eu/include/odm_interface.h | 7 -------
1 file changed, 7 deletions(-)
[PATCH] staging: r8188eu: remove unused enum odm_h2c_cmd
Posted by Michael Straube 4 years, 6 months ago
The enum odm_h2c_cmd is not used in this driver. Remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
---
 drivers/staging/r8188eu/include/odm_interface.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h
index 64c29c1da19d..e27ba77577a7 100644
--- a/drivers/staging/r8188eu/include/odm_interface.h
+++ b/drivers/staging/r8188eu/include/odm_interface.h
@@ -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);
-- 
2.34.1

Re: [PATCH] staging: r8188eu: remove unused enum odm_h2c_cmd
Posted by Michael Straube 4 years, 6 months ago
On 12/27/21 11:43, Michael Straube wrote:
> The enum odm_h2c_cmd is not used in this driver. Remove it.
> 
> Signed-off-by: Michael Straube <straube.linux@gmail.com>
> ---
>   drivers/staging/r8188eu/include/odm_interface.h | 7 -------
>   1 file changed, 7 deletions(-)
> 
> diff --git a/drivers/staging/r8188eu/include/odm_interface.h b/drivers/staging/r8188eu/include/odm_interface.h
> index 64c29c1da19d..e27ba77577a7 100644
> --- a/drivers/staging/r8188eu/include/odm_interface.h
> +++ b/drivers/staging/r8188eu/include/odm_interface.h
> @@ -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);

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

Thanks,
Michael