diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-02-27 13:19:31 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-06 11:17:06 +0300 |
commit | 4529d8914e33bf8b522b45ece87d751d006e7897 (patch) | |
tree | 9b8afc1b5180fac37f9b6551af270fed2947b51a | |
parent | a4ce938653a763cb9a76b4913055fb8b76b0c645 (diff) | |
download | linux-4529d8914e33bf8b522b45ece87d751d006e7897.tar.xz |
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 <rvarsha016@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/sm750fb/sm750.c | 1 | ||||
-rw-r--r-- | drivers/staging/sm750fb/sm750_accel.c | 4 | ||||
-rw-r--r-- | drivers/staging/sm750fb/sm750_cursor.c | 4 |
3 files changed, 0 insertions, 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); } - } } |