From: Katie Dunne Date: Mon, 20 Feb 2017 21:53:07 +0000 (-0800) Subject: staging: vt6656: remove blank lines at opening and closing braces X-Git-Tag: v4.12-rc1~84^2~903 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dff1e0ef86cba81bf3d892036a28e8b889b7e72c;p=karo-tx-linux.git staging: vt6656: remove blank lines at opening and closing braces Removes unnecessary blank lines after opening and before closing braces. These instances were found by checkpatch.pl. Signed-off-by: Katie Dunne Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index 9f6cc2ef08dd..b2fc17f1381b 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)