staging: rtl8712: remove extra blank lines
authorZhansaya Bagdauletkyzy <zhansayabagdaulet@gmail.com>
Sun, 4 Apr 2021 20:51:54 +0000 (02:51 +0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Apr 2021 10:12:26 +0000 (12:12 +0200)
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>
drivers/staging/rtl8712/rtl8712_recv.h
drivers/staging/rtl8712/rtl871x_mlme.c
drivers/staging/rtl8712/rtl871x_pwrctrl.h
drivers/staging/rtl8712/rtl871x_recv.h

index c70b37f..f4d20b0 100644 (file)
@@ -85,7 +85,6 @@ union recvstat {
        unsigned int value[RXDESC_SIZE>>2];
 };
 
-
 struct recv_buf {
        struct list_head list;
        spinlock_t recvbuf_lock;
index f5886b3..8a97307 100644 (file)
@@ -124,7 +124,6 @@ static void free_network_nolock(struct mlme_priv *pmlmepriv,
        pmlmepriv->num_of_scanned--;
 }
 
-
 /* return the wlan_network with the matching addr
  * Shall be called under atomic context...
  * to avoid possible racing condition...
@@ -358,7 +357,6 @@ static void update_scanned_network(struct _adapter *adapter,
                plist = plist->next;
        }
 
-
        /* If we didn't find a match, then get a new network slot to initialize
         * with this beacon's information
         */
@@ -621,7 +619,6 @@ void r8712_indicate_connect(struct _adapter *padapter)
                          jiffies + msecs_to_jiffies(60000));
 }
 
-
 /*
  * r8712_ind_disconnect: the caller has to lock pmlmepriv->lock
  */
index dd5a79f..bf6623c 100644 (file)
@@ -17,7 +17,6 @@
 #include "osdep_service.h"
 #include "drv_types.h"
 
-
 #define CMD_ALIVE      BIT(2)
 
 enum Power_Mgnt {
@@ -63,12 +62,10 @@ enum Power_Mgnt {
 #define                PS_STATE_S3             (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_ACTIVE(x)         ((x) & (PS_ST_ACTIVE))
 #define                CLR_PS_STATE(x) ((x) = ((x) & (0xF0)))
 
-
 struct reportpwrstate_parm {
        unsigned char mode;
        unsigned char state; /* the CPWM value */
index e83c256..7c99950 100644 (file)
@@ -29,7 +29,6 @@ struct        stainfo_rxcache {
 #define                PHY_RSSI_SLID_WIN_MAX                   100
 #define                PHY_LINKQUALITY_SLID_WIN_MAX            20
 
-
 struct smooth_rssi_data {
        u32     elements[100];  /* array to store values */
        u32     index;          /* index to current array to store */