* [PATCH] staging: rtl8723bs: remove multiple blank lines in rtw_recv.h
@ 2026-10-03 4:46 Steven Sierra
0 siblings, 0 replies; only message in thread
From: Steven Sierra @ 2026-10-03 4:46 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, Steven Sierra
Collapse runs of consecutive blank lines to a single blank line to
resolve the "Please do not use multiple blank lines" checkpatch
warnings in this file. No functional change.
Signed-off-by: Steven Sierra <bizoru@gmail.com>
---
drivers/staging/rtl8723bs/include/rtw_recv.h | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/drivers/staging/rtl8723bs/include/rtw_recv.h b/drivers/staging/rtl8723bs/include/rtw_recv.h
index 9c32d480a2..28d2f619bb 100644
--- a/drivers/staging/rtl8723bs/include/rtw_recv.h
+++ b/drivers/staging/rtl8723bs/include/rtw_recv.h
@@ -58,7 +58,6 @@ struct stainfo_rxcache {
*/
};
-
struct signal_stat {
u8 update_req; /* used to indicate */
u8 avg_val; /* avg of valid elements */
@@ -140,7 +139,6 @@ struct rx_pkt_attrib {
struct phy_info phy_info;
};
-
/* These definition is used for Rx packet reordering. */
#define SN_LESS(a, b) (((a - b) & 0x800) != 0)
#define SN_EQUAL(a, b) (a == b)
@@ -212,7 +210,6 @@ struct recv_priv {
/* s8 RxRssi[2]; */
/* int FalseAlmCnt_all; */
-
struct timer_list signal_stat_timer;
u32 signal_stat_sampling_interval;
/* u32 signal_stat_converging_constant; */
@@ -238,7 +235,6 @@ struct sta_recv_priv {
};
-
struct recv_buf {
struct list_head list;
@@ -261,7 +257,6 @@ struct recv_buf {
u8 reuse;
};
-
/*
head ----->
@@ -271,7 +266,6 @@ struct recv_buf {
tail ----->
-
end ----->
len = (unsigned int)(tail - data);
@@ -298,7 +292,6 @@ struct recv_frame_hdr {
void *precvbuf;
-
/* */
struct sta_info *psta;
@@ -306,7 +299,6 @@ struct recv_frame_hdr {
struct recv_reorder_ctrl *preorder_ctrl;
};
-
union recv_frame {
union{
struct list_head list;
@@ -361,11 +353,9 @@ static inline u8 *recvframe_pull(union recv_frame *precvframe, signed int sz)
/* used for extract sz bytes from rx_data, update rx_data and return the updated rx_data to the caller */
-
if (!precvframe)
return NULL;
-
precvframe->u.hdr.rx_data += sz;
if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) {
@@ -405,8 +395,6 @@ static inline u8 *recvframe_put(union recv_frame *precvframe, signed int sz)
}
-
-
static inline u8 *recvframe_pull_tail(union recv_frame *precvframe, signed int sz)
{
/* rmv data from rx_tail (by yitsen) */
@@ -435,7 +423,6 @@ static inline signed int get_recvframe_len(union recv_frame *precvframe)
return precvframe->u.hdr.len;
}
-
static inline s32 translate_percentage_to_dbm(u32 SignalStrengthIndex)
{
s32 SignalPower; /* in dBm. */
@@ -447,7 +434,6 @@ static inline s32 translate_percentage_to_dbm(u32 SignalStrengthIndex)
return SignalPower;
}
-
struct sta_info;
extern void _rtw_init_sta_recv_priv(struct sta_recv_priv *psta_recvpriv);
--
2.34.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-03 4:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-03 4:46 [PATCH] staging: rtl8723bs: remove multiple blank lines in rtw_recv.h Steven Sierra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®