aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Cesati <marcocesati@gmail.com>2021-03-12 09:26:22 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-12 17:25:40 +0100
commit2c9b5a030e77f7a904ecbca83ae14e4ce8adf281 (patch)
tree8e92d73229b6ea726dcfe86e165d285b10babb2e
parentstaging: rtl8723bs: remove typedefs in rtw_mp.h (diff)
staging: rtl8723bs: remove typedefs in osdep_service.h
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #83: FILE: include/osdep_service.h:83: +typedef enum mstat_status { Signed-off-by: Marco Cesati <marco.cesati@gmail.com> Link: https://lore.kernel.org/r/20210312082638.25512-18-marco.cesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/include/osdep_service.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/include/osdep_service.h b/drivers/staging/rtl8723bs/include/osdep_service.h
index dcc3cdce6d4b..c241bb66a23e 100644
--- a/drivers/staging/rtl8723bs/include/osdep_service.h
+++ b/drivers/staging/rtl8723bs/include/osdep_service.h
@@ -80,11 +80,11 @@ enum mstat_f {
#define mstat_tf_idx(flags) ((flags)&0xff)
#define mstat_ff_idx(flags) (((flags)&0xff00) >> 8)
-typedef enum mstat_status {
+enum MSTAT_STATUS {
MSTAT_ALLOC_SUCCESS = 0,
MSTAT_ALLOC_FAIL,
MSTAT_FREE
-} MSTAT_STATUS;
+};
#define rtw_mstat_update(flag, status, sz) do {} while (0)
#define rtw_mstat_dump(sel) do {} while (0)