[PATCH] staging: r8188eu: remove unnecessary blank lines

Alaa Mohamed posted 1 patch 4 years, 2 months ago
drivers/staging/r8188eu/core/rtw_ap.c | 3 ---
1 file changed, 3 deletions(-)
[PATCH] staging: r8188eu: remove unnecessary blank lines
Posted by Alaa Mohamed 4 years, 2 months ago
Reported by checkpatch:

CHECK: Blank lines aren't necessary before a close brace '}'

Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
---
 drivers/staging/r8188eu/core/rtw_ap.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/r8188eu/core/rtw_ap.c b/drivers/staging/r8188eu/core/rtw_ap.c
index 2ff78ed1faab..ac6effbecf6d 100644
--- a/drivers/staging/r8188eu/core/rtw_ap.c
+++ b/drivers/staging/r8188eu/core/rtw_ap.c
@@ -188,7 +188,6 @@ void	expire_timeout_chk(struct adapter *padapter)
 				spin_lock_bh(&pstapriv->auth_list_lock);
 			}
 		}
-
 	}
 	spin_unlock_bh(&pstapriv->auth_list_lock);
 
@@ -381,7 +380,6 @@ void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
 		/* set ra_id, init_rate */
 		psta->raid = raid;
 		psta->init_rate = init_rate;
-
 	}
 }
 
@@ -455,7 +453,6 @@ void update_bmc_sta(struct adapter *padapter)
 		spin_lock_bh(&psta->lock);
 		psta->state = _FW_LINKED;
 		spin_unlock_bh(&psta->lock);
-
 	}
 }
 
-- 
2.35.1
Re: [PATCH] staging: r8188eu: remove unnecessary blank lines
Posted by Larry Finger 4 years, 2 months ago
On 4/4/22 09:52, Alaa Mohamed wrote:
> Reported by checkpatch:
> 
> CHECK: Blank lines aren't necessary before a close brace '}'
> 
> Signed-off-by: Alaa Mohamed <eng.alaamohamedsoliman.am@gmail.com>
> ---
>   drivers/staging/r8188eu/core/rtw_ap.c | 3 ---
>   1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/staging/r8188eu/core/rtw_ap.c b/drivers/staging/r8188eu/core/rtw_ap.c
> index 2ff78ed1faab..ac6effbecf6d 100644
> --- a/drivers/staging/r8188eu/core/rtw_ap.c
> +++ b/drivers/staging/r8188eu/core/rtw_ap.c
> @@ -188,7 +188,6 @@ void	expire_timeout_chk(struct adapter *padapter)
>   				spin_lock_bh(&pstapriv->auth_list_lock);
>   			}
>   		}
> -
>   	}
>   	spin_unlock_bh(&pstapriv->auth_list_lock);
>   
> @@ -381,7 +380,6 @@ void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
>   		/* set ra_id, init_rate */
>   		psta->raid = raid;
>   		psta->init_rate = init_rate;
> -
>   	}
>   }
>   
> @@ -455,7 +453,6 @@ void update_bmc_sta(struct adapter *padapter)
>   		spin_lock_bh(&psta->lock);
>   		psta->state = _FW_LINKED;
>   		spin_unlock_bh(&psta->lock);
> -
>   	}
>   }
>   

Acked_by: Larry Finger <Larry.Finger@lwfinger.net>

Thanks,

Larry