staging: rtl8712: remove extra blank lines

Remove extra blank lines to adhere to Linux kernel coding style.
Reported by checkpatch.

Signed-off-by: Zhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Link: https://lore.kernel.org/r/d56183614a04590bdf3a6280b7f23664a5bb394c.1617568354.git.zhansayabagdaulet@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Zhansaya Bagdauletkyzy 2021-04-05 02:51:54 +06:00 коммит произвёл Greg Kroah-Hartman
Родитель 69c7ec3b2b
Коммит c75afdaf2e
4 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -85,7 +85,6 @@ union recvstat {
unsigned int value[RXDESC_SIZE>>2]; unsigned int value[RXDESC_SIZE>>2];
}; };
struct recv_buf { struct recv_buf {
struct list_head list; struct list_head list;
spinlock_t recvbuf_lock; spinlock_t recvbuf_lock;

Просмотреть файл

@ -124,7 +124,6 @@ static void free_network_nolock(struct mlme_priv *pmlmepriv,
pmlmepriv->num_of_scanned--; pmlmepriv->num_of_scanned--;
} }
/* return the wlan_network with the matching addr /* return the wlan_network with the matching addr
* Shall be called under atomic context... * Shall be called under atomic context...
* to avoid possible racing condition... * to avoid possible racing condition...
@ -358,7 +357,6 @@ static void update_scanned_network(struct _adapter *adapter,
plist = plist->next; plist = plist->next;
} }
/* If we didn't find a match, then get a new network slot to initialize /* If we didn't find a match, then get a new network slot to initialize
* with this beacon's information * with this beacon's information
*/ */
@ -621,7 +619,6 @@ void r8712_indicate_connect(struct _adapter *padapter)
jiffies + msecs_to_jiffies(60000)); jiffies + msecs_to_jiffies(60000));
} }
/* /*
* r8712_ind_disconnect: the caller has to lock pmlmepriv->lock * r8712_ind_disconnect: the caller has to lock pmlmepriv->lock
*/ */

Просмотреть файл

@ -17,7 +17,6 @@
#include "osdep_service.h" #include "osdep_service.h"
#include "drv_types.h" #include "drv_types.h"
#define CMD_ALIVE BIT(2) #define CMD_ALIVE BIT(2)
enum Power_Mgnt { enum Power_Mgnt {
@ -63,12 +62,10 @@ enum Power_Mgnt {
#define PS_STATE_S3 (PS_ALL_ON) #define PS_STATE_S3 (PS_ALL_ON)
#define PS_STATE_S4 ((PS_ST_ACTIVE) | (PS_ALL_ON)) #define PS_STATE_S4 ((PS_ST_ACTIVE) | (PS_ALL_ON))
#define PS_IS_RF_ON(x) ((x) & (PS_ALL_ON)) #define PS_IS_RF_ON(x) ((x) & (PS_ALL_ON))
#define PS_IS_ACTIVE(x) ((x) & (PS_ST_ACTIVE)) #define PS_IS_ACTIVE(x) ((x) & (PS_ST_ACTIVE))
#define CLR_PS_STATE(x) ((x) = ((x) & (0xF0))) #define CLR_PS_STATE(x) ((x) = ((x) & (0xF0)))
struct reportpwrstate_parm { struct reportpwrstate_parm {
unsigned char mode; unsigned char mode;
unsigned char state; /* the CPWM value */ unsigned char state; /* the CPWM value */

Просмотреть файл

@ -29,7 +29,6 @@ struct stainfo_rxcache {
#define PHY_RSSI_SLID_WIN_MAX 100 #define PHY_RSSI_SLID_WIN_MAX 100
#define PHY_LINKQUALITY_SLID_WIN_MAX 20 #define PHY_LINKQUALITY_SLID_WIN_MAX 20
struct smooth_rssi_data { struct smooth_rssi_data {
u32 elements[100]; /* array to store values */ u32 elements[100]; /* array to store values */
u32 index; /* index to current array to store */ u32 index; /* index to current array to store */