OSDN Git Service

staging: sm750fb: Remove blank lines after { and before } braces.
authorVarsha Rao <rvarsha016@gmail.com>
Mon, 27 Feb 2017 10:19:31 +0000 (15:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:06 +0000 (09:17 +0100)
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>
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750_accel.c
drivers/staging/sm750fb/sm750_cursor.c

index 332a3ef..c618c56 100644 (file)
@@ -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);
 
index 57ae743..9548863 100644 (file)
@@ -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;
 }
 
index dbc8bb1..aa232c3 100644 (file)
@@ -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);
                }
-
        }
 }