Staging: sm750fb: Remove brace for single statement
Subsystems (2)
PATCH 1/1 Staging: sm750fb: Remove brace for single statement
Removed braces in the single if statement. Problem found using checkpatch.pl
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by Amitoj Kaur Chawla <[email protected]>
--- drivers/staging/sm750fb/ddk750_chip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/sm750fb/ddk750_chip.c +1 -2
@@ -25,9 +25,8 @@ logical_chip_type_t getChipType(void) }else if (physicalID ==0x750 ) { chip =SM750 ;/* SM750 and SM750LE are different in their revision ID only. */ -if (physicalRev ==SM750LE_REVISION_ID ){ +if (physicalRev ==SM750LE_REVISION_ID ) chip =SM750LE ; - } }else { chip =SM_UNKNOWN ; }
Signature · 1 line
1.9.1
Greg KH
maintainerQuoted 7 lines · Amitoj Kaur Chawla
Removed braces in the single if statement. Problem found using checkpatch.pl
WARNING: braces {} are not necessary for single statement blocksSigned-off-by Amitoj Kaur Chawla <[email protected]>--- drivers/staging/sm750fb/ddk750_chip.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
You sent me 3 patches for this driver, but no hint as to what order to apply them in :(
Please fix that up, and send a series of three patches, properly numbered, so I know what to do.
thanks,
greg k-h