From 4529d8914e33bf8b522b45ece87d751d006e7897 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Mon, 27 Feb 2017 15:49:31 +0530 Subject: [PATCH] staging: sm750fb: Remove blank lines after { and before } braces. Removed unnecessary blank lines after open brace and before closed braces, to fix the check patch issue. Also removed braces which were not required. Signed-off-by: Varsha Rao Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sm750fb/sm750.c | 1 - drivers/staging/sm750fb/sm750_accel.c | 4 ---- drivers/staging/sm750fb/sm750_cursor.c | 4 ---- 3 files changed, 9 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm750.c index 332a3ef27ba8..c618c5604cca 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -806,7 +806,6 @@ static int lynxfb_set_fbinfo(struct fb_info *info, int index) } for (i = 0; i < 3; i++) { - ret = fb_find_mode(var, info, g_fbmode[index], pdb[i], cdb[i], NULL, 8); diff --git a/drivers/staging/sm750fb/sm750_accel.c b/drivers/staging/sm750fb/sm750_accel.c index 57ae7437982c..9548863a3060 100644 --- a/drivers/staging/sm750fb/sm750_accel.c +++ b/drivers/staging/sm750fb/sm750_accel.c @@ -259,8 +259,6 @@ unsigned int rop2) /* ROP value */ if (accel->de_wait() != 0) return -1; - { - write_dpr(accel, DE_SOURCE, ((sx << DE_SOURCE_X_K1_SHIFT) & DE_SOURCE_X_K1_MASK) | (sy & DE_SOURCE_Y_K2_MASK)); /* dpr0 */ @@ -276,8 +274,6 @@ unsigned int rop2) /* ROP value */ DE_CONTROL_COMMAND_BITBLT | DE_CONTROL_STATUS; write_dpr(accel, DE_CONTROL, de_ctrl); /* dpr0c */ - } - return 0; } diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index dbc8bb1fa9c1..aa232c31b312 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -131,10 +131,7 @@ void sm750_hw_cursor_setData(struct lynx_cursor *cursor, } else { pbuffer += sizeof(u16); } - } - - } @@ -178,6 +175,5 @@ void sm750_hw_cursor_setData2(struct lynx_cursor *cursor, } else { pbuffer += sizeof(u16); } - } } -- 2.11.0