mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
Staging: rtl8723bs: remove named enums in drv_types.h
Remove the following unnecessary enum names or definitions in include/drv_types.h: enum _nic_version [definition] enum _iface_type [name] enum adapter_type [definition] enum driver_state [name] Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210324124456.25221-7-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
555665d98e
commit
145d91b778
@@ -24,15 +24,6 @@
|
||||
#include <wifi.h>
|
||||
#include <ieee80211.h>
|
||||
|
||||
enum _nic_version {
|
||||
|
||||
RTL8711_NIC,
|
||||
RTL8712_NIC,
|
||||
RTL8713_NIC,
|
||||
RTL8716_NIC
|
||||
|
||||
};
|
||||
|
||||
#include <rtw_rf.h>
|
||||
|
||||
#include <rtw_ht.h>
|
||||
@@ -347,19 +338,13 @@ static inline struct device *dvobj_to_dev(struct dvobj_priv *dvobj)
|
||||
|
||||
struct adapter *dvobj_get_port0_adapter(struct dvobj_priv *dvobj);
|
||||
|
||||
enum _iface_type {
|
||||
enum {
|
||||
IFACE_PORT0, /* mapping to port0 for C/D series chips */
|
||||
IFACE_PORT1, /* mapping to port1 for C/D series chip */
|
||||
MAX_IFACE_PORT,
|
||||
};
|
||||
|
||||
enum adapter_type {
|
||||
PRIMARY_ADAPTER,
|
||||
SECONDARY_ADAPTER,
|
||||
MAX_ADAPTER = 0xFF,
|
||||
};
|
||||
|
||||
enum driver_state {
|
||||
enum {
|
||||
DRIVER_NORMAL = 0,
|
||||
DRIVER_DISAPPEAR = 1,
|
||||
DRIVER_REPLACE_DONGLE = 2,
|
||||
|
||||
Reference in New Issue
Block a user