Skip to content

Commit

Permalink
staging: rtl8723bs: remove typedefs in osdep_service.h
Browse files Browse the repository at this point in the history
This commit fixes the following checkpatch.pl warnings:

    WARNING: do not add new typedefs
    torvalds#83: FILE: include/osdep_service.h:83:
    +typedef enum mstat_status {

Signed-off-by: Marco Cesati <[email protected]>
  • Loading branch information
Marco Cesati authored and intel-lab-lkp committed Mar 12, 2021
1 parent 20fba03 commit fa7870b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/rtl8723bs/include/osdep_service.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fa7870b

Please sign in to comment.