mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
staging: rtl8723bs: fix several line spaces in wifi.h
Address checkpatch.pl warnings fixing reports of type LINE_SPACING: WARNING: Missing a blank line after declarations CHECK: Please don't use multiple blank lines CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Santiago Ruano Rincón <santiagorr@riseup.net> Reviewed-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260723153526.255965-1-santiagorr@riseup.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
765afda8e8
commit
9af889d07e
|
|
@ -163,7 +163,6 @@ enum {
|
|||
#define SetDuration(pbuf, dur) \
|
||||
(*(__le16 *)((size_t)(pbuf) + 2) = cpu_to_le16(0xffff & (dur)))
|
||||
|
||||
|
||||
#define SetPriority(pbuf, tid) \
|
||||
(*(__le16 *)(pbuf) |= cpu_to_le16(tid & 0xf))
|
||||
|
||||
|
|
@ -192,12 +191,15 @@ enum {
|
|||
static inline unsigned char *rtl8723bs_get_ra(unsigned char *pframe)
|
||||
{
|
||||
unsigned char *ra;
|
||||
|
||||
ra = GetAddr1Ptr(pframe);
|
||||
return ra;
|
||||
}
|
||||
|
||||
static inline unsigned char *get_ta(unsigned char *pframe)
|
||||
{
|
||||
unsigned char *ta;
|
||||
|
||||
ta = GetAddr2Ptr(pframe);
|
||||
return ta;
|
||||
}
|
||||
|
|
@ -225,7 +227,6 @@ static inline unsigned char *get_da(unsigned char *pframe)
|
|||
return da;
|
||||
}
|
||||
|
||||
|
||||
static inline unsigned char *get_sa(unsigned char *pframe)
|
||||
{
|
||||
unsigned char *sa;
|
||||
|
|
@ -272,11 +273,11 @@ static inline unsigned char *get_hdr_bssid(unsigned char *pframe)
|
|||
return sa;
|
||||
}
|
||||
|
||||
|
||||
static inline int IsFrameTypeCtrl(unsigned char *pframe)
|
||||
{
|
||||
return GetFrameType(pframe) == WIFI_CTRL_TYPE;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
Below is for the security related definition
|
||||
------------------------------------------------------------------------------*/
|
||||
|
|
@ -335,7 +336,6 @@ struct ieee80211_ht_addt_info {
|
|||
unsigned char basic_set[16];
|
||||
} __packed;
|
||||
|
||||
|
||||
struct HT_caps_element {
|
||||
union {
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user