drivers: staging: rtl8723au: Fix "open brace '{' following struct go on the same line" errors
PATCH 1/1 drivers: staging: rtl8723au: Fix "open brace '{' following struct go on the same line" errors
Fix checkpatch.pl "open brace '{' following struct go on the same line" errors
Signed-off-by Greg Donald <[email protected]>
--- drivers/staging/rtl8723au/core/rtw_security.c | 3 +-- drivers/staging/rtl8723au/include/rtl8723a_dm.h | 3 +-- drivers/staging/rtl8723au/include/rtl8723a_recv.h | 3 +-- drivers/staging/rtl8723au/include/rtw_cmd.h | 3 +-- drivers/staging/rtl8723au/include/rtw_ht.h | 3 +-- drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 6 ++---- 6 files changed, 7 insertions(+), 14 deletions(-)
drivers/staging/rtl8723au/core/rtw_security.c +1 -2
@@ -23,8 +23,7 @@#define CRC32_POLY 0x04c11db7 -struct arc4context -{ +struct arc4context {u32 x;u32 y;u8 state[256 ];
drivers/staging/rtl8723au/include/rtl8723a_dm.h +1 -2
@@ -37,8 +37,7 @@ enum{#define IQK_BB_REG_NUM 9#define HP_THERMAL_NUM 8/* duplicate code,will move to ODM ######### */ -struct dm_priv -{ +struct dm_priv {u32 InitODMFlag;/* Upper and Lower Signal threshold for Rate Adaptive*/
drivers/staging/rtl8723au/include/rtl8723a_recv.h +1 -2
@@ -35,8 +35,7 @@#define PHY_LINKQUALITY_SLID_WIN_MAX 20 -struct phy_stat -{ +struct phy_stat {unsigned int phydw0;unsigned int phydw1;unsigned int phydw2;
drivers/staging/rtl8723au/include/rtw_cmd.h +1 -2
@@ -450,8 +450,7 @@ struct getrfintfs_parm {u8 rfintfs; }; -struct Tx_Beacon_param -{ +struct Tx_Beacon_param {struct wlan_bssid_ex network; };
drivers/staging/rtl8723au/include/rtw_ht.h +1 -2
@@ -19,8 +19,7 @@#include "linux/ieee80211.h" #include "wifi.h" -struct ht_priv -{ +struct ht_priv {bool ht_option;bool ampdu_enable;/* for enable Tx A-MPDU */ /* u8 baddbareq_issued[16]; */
drivers/staging/rtl8723au/include/rtw_mlme_ext.h +2 -4
@@ -270,8 +270,7 @@ struct action_handler {int (*func)(struct rtw_adapter *padapter,struct recv_frame *precv_frame); }; -struct ss_res -{ +struct ss_res {int state;int bss_cnt;int channel_idx;
@@ -318,8 +317,7 @@ struct FW_Sta_Info {* 5. ... and so on, till survey done. */ -struct mlme_ext_info -{ +struct mlme_ext_info {u32 state;u32 reauth_count;u32 reassoc_count;
Signature · 1 line
1.9.1