* [PATCH] staging: vt6656: remove blank lines at opening and closing braces
@ 2017-02-20 21:53 Katie Dunne
2017-02-21 8:26 ` [Outreachy kernel] " Julia Lawall
0 siblings, 1 reply; 2+ messages in thread
From: Katie Dunne @ 2017-02-20 21:53 UTC (permalink / raw)
To: outreachy-kernel; +Cc: forest, gregkh
Removes unnecessary blank lines after opening and before closing braces.
These instances were found by checkpatch.pl.
Signed-off-by: Katie Dunne <kdunne@mail.ccsf.edu>
---
drivers/staging/vt6656/wcmd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c
index 9f6cc2e..b2fc17f 100644
--- a/drivers/staging/vt6656/wcmd.c
+++ b/drivers/staging/vt6656/wcmd.c
@@ -45,7 +45,6 @@ static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs)
static int vnt_cmd_complete(struct vnt_private *priv)
{
-
priv->command_state = WLAN_CMD_IDLE;
if (priv->free_cmd_queue == CMD_Q_SIZE) {
/* Command Queue Empty */
@@ -165,7 +164,6 @@ void vnt_run_command(struct work_struct *work)
int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command)
{
-
if (priv->free_cmd_queue == 0)
return false;
@@ -178,7 +176,6 @@ int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command)
vnt_cmd_complete(priv);
return true;
-
}
void vnt_reset_command_timer(struct vnt_private *priv)
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Outreachy kernel] [PATCH] staging: vt6656: remove blank lines at opening and closing braces
2017-02-20 21:53 [PATCH] staging: vt6656: remove blank lines at opening and closing braces Katie Dunne
@ 2017-02-21 8:26 ` Julia Lawall
0 siblings, 0 replies; 2+ messages in thread
From: Julia Lawall @ 2017-02-21 8:26 UTC (permalink / raw)
To: Katie Dunne; +Cc: outreachy-kernel, forest, gregkh
On Mon, 20 Feb 2017, Katie Dunne wrote:
> Removes unnecessary blank lines after opening and before closing braces.
> These instances were found by checkpatch.pl.
>
> Signed-off-by: Katie Dunne <kdunne@mail.ccsf.edu>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
> ---
> drivers/staging/vt6656/wcmd.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c
> index 9f6cc2e..b2fc17f 100644
> --- a/drivers/staging/vt6656/wcmd.c
> +++ b/drivers/staging/vt6656/wcmd.c
> @@ -45,7 +45,6 @@ static void vnt_cmd_timer_wait(struct vnt_private *priv, unsigned long msecs)
>
> static int vnt_cmd_complete(struct vnt_private *priv)
> {
> -
> priv->command_state = WLAN_CMD_IDLE;
> if (priv->free_cmd_queue == CMD_Q_SIZE) {
> /* Command Queue Empty */
> @@ -165,7 +164,6 @@ void vnt_run_command(struct work_struct *work)
>
> int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command)
> {
> -
> if (priv->free_cmd_queue == 0)
> return false;
>
> @@ -178,7 +176,6 @@ int vnt_schedule_command(struct vnt_private *priv, enum vnt_cmd command)
> vnt_cmd_complete(priv);
>
> return true;
> -
> }
>
> void vnt_reset_command_timer(struct vnt_private *priv)
> --
> 2.7.4
>
> --
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170220215307.GA3235%40katie-Inspiron-5748.
> For more options, visit https://groups.google.com/d/optout.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-21 8:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-20 21:53 [PATCH] staging: vt6656: remove blank lines at opening and closing braces Katie Dunne
2017-02-21 8:26 ` [Outreachy kernel] " Julia Lawall
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.