Staging: rtl8723bs: remove named enums in rtw_wifi_regd.h
authorMarco Cesati <marcocesati@gmail.com>
Wed, 24 Mar 2021 12:44:38 +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 definition in
include/rtw_wifi_regd.h:

enum country_code_type_t

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

index 66bf3d1b1d5a1005117fca6b556a5e21a7edca9a..e611651cb40b558efe705e86532979ebfde34de6 100644 (file)
@@ -8,13 +8,6 @@
 #ifndef __RTW_WIFI_REGD_H__
 #define __RTW_WIFI_REGD_H__
 
-enum country_code_type_t {
-       COUNTRY_CODE_USER = 0,
-
-       /*add new channel plan above this line */
-       COUNTRY_CODE_MAX
-};
-
 void rtw_regd_init(struct wiphy *wiphy,
                   void (*reg_notifier)(struct wiphy *wiphy,
                                        struct regulatory_request *request));