staging: sm750fb: Remove unnecessary braces.
Subsystems (2)
PATCH 1/1 staging: sm750fb: Remove unnecessary braces.
Removed braces which are not required and the trailing spaces caused by removal of braces.
--- drivers/staging/sm750fb/sm750_accel.c | 4 ---- 1 file changed, 4 deletions(-)
drivers/staging/sm750fb/sm750_accel.c +0 -4
@@ -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 ; }
Signature · 1 line
2.9.3
Quoted 2 lines · Varsha Rao
Removed braces which are not required and the trailing spaces caused by removal of braces.
This should be a v2 as you sent another on the same code with partly the same changes.
julia
Quoted 38 lines
Signed-off-by Varsha Rao <[email protected]>--- drivers/staging/sm750fb/sm750_accel.c | 4 ---- 1 file changed, 4 deletions(-)drivers/staging/sm750fb/sm750_accel.c +0
-5@@ -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 ; } --2.9.3
--
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 [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/58b28860.5c37630a.52b6.2c1f%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.