Skip to content

Commit 20fba03

Browse files
Marco Cesatiintel-lab-lkp
authored andcommitted
staging: rtl8723bs: remove typedefs in rtw_mp.h
This commit fixes the following checkpatch.pl warnings: WARNING: do not add new typedefs #52: FILE: include/rtw_mp.h:52: +typedef struct _MPT_CONTEXT { WARNING: do not add new typedefs torvalds#268: FILE: include/rtw_mp.h:268: +typedef struct _IOCMD_STRUCT_ { Signed-off-by: Marco Cesati <[email protected]>
1 parent 06a3dae commit 20fba03

File tree

1 file changed

+5
-5
lines changed
  • drivers/staging/rtl8723bs/include

1 file changed

+5
-5
lines changed

drivers/staging/rtl8723bs/include/rtw_mp.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct mp_tx {
4949
#define MP_MAX_LINES_BYTES 256
5050

5151
typedef void (*MPT_WORK_ITEM_HANDLER)(void *Adapter);
52-
typedef struct _MPT_CONTEXT {
52+
struct MPT_CONTEXT {
5353
/* Indicate if we have started Mass Production Test. */
5454
bool bMassProdTest;
5555

@@ -148,7 +148,7 @@ typedef struct _MPT_CONTEXT {
148148
u32 mptOutLen;
149149
u8 mptOutBuf[100];
150150

151-
} MPT_CONTEXT, *PMPT_CONTEXT;
151+
};
152152
/* endif */
153153

154154
/* E-Fuse */
@@ -260,16 +260,16 @@ struct mp_priv {
260260
bool bSetRxBssid;
261261
bool bTxBufCkFail;
262262

263-
MPT_CONTEXT MptCtx;
263+
struct MPT_CONTEXT MptCtx;
264264

265265
u8 *TXradomBuffer;
266266
};
267267

268-
typedef struct _IOCMD_STRUCT_ {
268+
struct IOCMD_STRUCT {
269269
u8 cmdclass;
270270
u16 value;
271271
u8 index;
272-
} IOCMD_STRUCT;
272+
};
273273

274274
struct rf_reg_param {
275275
u32 path;

0 commit comments

Comments
 (0)