staging: r8188eu: Remove include/rtw_qos.h
authorLarry Finger <Larry.Finger@lwfinger.net>
Thu, 29 Jul 2021 17:09:27 +0000 (12:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Jul 2021 08:22:34 +0000 (10:22 +0200)
This header file merely defines a single struct. Move that definition
to the header file that uses it, and delete rtw_qos.h.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20210729170930.23171-4-Larry.Finger@lwfinger.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/drv_types.h
drivers/staging/r8188eu/include/rtw_mlme.h
drivers/staging/r8188eu/include/rtw_qos.h [deleted file]

index eed807d5dbc2a7b47097ce98fc219f9e8265c9bd..0acc5847a6024e57f384d1feafcb31c81e1000d8 100644 (file)
@@ -22,7 +22,6 @@
 #include <rtw_recv.h>
 #include <hal_intf.h>
 #include <hal_com.h>
-#include <rtw_qos.h>
 #include <rtw_security.h>
 #include <rtw_pwrctrl.h>
 #include <rtw_io.h>
index 3ef1a008c602a90c5c318e4680a47c389e27ac70..d5b479ae7799ee0be69aa8b551fe6ec1f49fc0f8 100644 (file)
@@ -313,6 +313,12 @@ struct tdls_info {
        u8 enable;
 };
 
+struct qos_priv {
+       /* bit mask option: u-apsd,
+        * s-apsd, ts, block ack... */
+       unsigned int qos_option;
+};
+
 struct mlme_priv {
        spinlock_t lock;
        int fw_state;   /* shall we protect this variable? maybe not necessarily... */
diff --git a/drivers/staging/r8188eu/include/rtw_qos.h b/drivers/staging/r8188eu/include/rtw_qos.h
deleted file mode 100644 (file)
index 3150e00..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/* Copyright(c) 2007 - 2011 Realtek Corporation. */
-
-#ifndef _RTW_QOS_H_
-#define _RTW_QOS_H_
-
-#include <osdep_service.h>
-
-struct qos_priv        {
-       unsigned int      qos_option;   /* bit mask option: u-apsd,
-                                        * s-apsd, ts, block ack... */
-};
-
-#endif /* _RTL871X_QOS_H_ */