Staging: rtl8723bs: remove named enums in rtl8723b_hal.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 24 Mar 2021 12:44:40 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Mar 2021 14:03:01 +0000 (15:03 +0100)
Remove the following unnecessary enum names in
include/rtl8723b_hal.h:

enum c2h_evt
enum package_type_e

Signed-off-by: Marco Cesati <marcocesati@gmail.com>
Link: https://lore.kernel.org/r/20210324124456.25221-18-marcocesati@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/include/rtl8723b_hal.h

index 9b04325..c1d7249 100644 (file)
@@ -152,7 +152,7 @@ struct rt_firmware_hdr {
 /* Description: Determine the types of C2H events that are the same in driver
  * and FW; First constructed by tynli. 2009.10.09.
  */
-enum c2h_evt {
+enum {
        C2H_DBG = 0,
        C2H_TSF = 1,
        C2H_AP_RPT_RSP = 2,
@@ -174,7 +174,7 @@ struct c2h_evt_hdr_t {
        u8 CmdSeq;
 } __attribute__((__packed__));
 
-enum package_type_e { /* tag_Package_Definition */
+enum { /* tag_Package_Definition */
        PACKAGE_DEFAULT,
        PACKAGE_QFN68,
        PACKAGE_TFBGA90,