Commit f61ada8c authored by Marco Cesati's avatar Marco Cesati Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723bs: remove typedefs in odm_NoiseMonitor.h



This commit fixes the following checkpatch.pl warning:

    WARNING: do not add new typedefs
    #27: FILE: hal/odm_NoiseMonitor.h:27:
    +typedef struct _ODM_NOISE_MONITOR_ {

Signed-off-by: default avatarMarco Cesati <marco.cesati@gmail.com>
Link: https://lore.kernel.org/r/20210312082638.25512-6-marco.cesati@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6d12413c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1076,7 +1076,7 @@ struct DM_ODM_T { /* DM_Out_Source_Dynamic_Mechanism_Structure */
	u8 Adaptivity_IGI_upper;
	u8 NHM_cnt_0;

	ODM_NOISE_MONITOR noise_level;/* ODM_MAX_CHANNEL_NUM]; */
	struct ODM_NOISE_MONITOR noise_level;/* ODM_MAX_CHANNEL_NUM]; */
	/*  */
	/* 2 Define STA info. */
	/*  _ODM_STA_INFO */
+2 −2
Original line number Diff line number Diff line
@@ -24,10 +24,10 @@ struct noise_level {
};


typedef struct _ODM_NOISE_MONITOR_ {
struct ODM_NOISE_MONITOR {
	s8 noise[MAX_RF_PATH];
	s16 noise_all;
} ODM_NOISE_MONITOR;
};

s16 ODM_InbandNoise_Monitor(
	void *pDM_VOID,