staging: rtl8192e: Remove unused struct rtllib_hdr and two enums
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 15 Sep 2023 16:07:36 +0000 (18:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Sep 2023 07:47:56 +0000 (09:47 +0200)
Remove struct rtllib_hdr, enum rt_ps_mode and enum fw_cmd_io_type as those
are not used.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/4bdb5e4d604eb3bd46c7853ad6d9a60f6208dd4a.1694792595.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib.h

index 55f96f446f9ef5413f7439d46a25ad845c8002a9..717b74dc005d7ac21d3c0c80f69c9d1e45970370 100644 (file)
@@ -679,12 +679,6 @@ struct rtllib_pspoll_hdr {
        u8 ta[ETH_ALEN];
 } __packed;
 
-struct rtllib_hdr {
-       __le16 frame_ctl;
-       __le16 duration_id;
-       u8 payload[];
-} __packed;
-
 struct rtllib_hdr_4addr {
        __le16 frame_ctl;
        __le16 duration_id;
@@ -1157,13 +1151,6 @@ enum fsync_state {
        SW_Fsync
 };
 
-enum rt_ps_mode {
-       eActive,
-       eMaxPs,
-       eFastPs,
-       eAutoPs,
-};
-
 enum ips_callback_function {
        IPS_CALLBACK_NONE = 0,
        IPS_CALLBACK_MGNT_LINK_REQUEST = 1,
@@ -1220,33 +1207,6 @@ enum scan_op_backup_opt {
        SCAN_OPT_MAX
 };
 
-enum fw_cmd_io_type {
-       FW_CMD_DIG_ENABLE = 0,
-       FW_CMD_DIG_DISABLE = 1,
-       FW_CMD_DIG_HALT = 2,
-       FW_CMD_DIG_RESUME = 3,
-       FW_CMD_HIGH_PWR_ENABLE = 4,
-       FW_CMD_HIGH_PWR_DISABLE = 5,
-       FW_CMD_RA_RESET = 6,
-       FW_CMD_RA_ACTIVE = 7,
-       FW_CMD_RA_REFRESH_N = 8,
-       FW_CMD_RA_REFRESH_BG = 9,
-       FW_CMD_RA_INIT = 10,
-       FW_CMD_IQK_ENABLE = 11,
-       FW_CMD_TXPWR_TRACK_ENABLE = 12,
-       FW_CMD_TXPWR_TRACK_DISABLE = 13,
-       FW_CMD_TXPWR_TRACK_THERMAL = 14,
-       FW_CMD_PAUSE_DM_BY_SCAN = 15,
-       FW_CMD_RESUME_DM_BY_SCAN = 16,
-       FW_CMD_RA_REFRESH_N_COMB = 17,
-       FW_CMD_RA_REFRESH_BG_COMB = 18,
-       FW_CMD_ANTENNA_SW_ENABLE = 19,
-       FW_CMD_ANTENNA_SW_DISABLE = 20,
-       FW_CMD_TX_FEEDBACK_CCX_ENABLE = 21,
-       FW_CMD_LPS_ENTER = 22,
-       FW_CMD_LPS_LEAVE = 23,
-};
-
 #define RT_MAX_LD_SLOT_NUM     10
 struct rt_link_detect {
        u32                             NumRecvBcnInPeriod;