summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmarjargal Gundjalam <amarjargal16@gmail.com>2013-05-17 01:03:15 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-19 21:05:40 -0700
commite1a1c4806c73f9426a0fd556fe76391ca12672bc (patch)
tree4648c36e45edd86fc3cf06ff7055433e21a1bd0c
parent23f73b3a0e411d13719043daee666bfb987be13c (diff)
downloadop-kernel-dev-e1a1c4806c73f9426a0fd556fe76391ca12672bc.zip
op-kernel-dev-e1a1c4806c73f9426a0fd556fe76391ca12672bc.tar.gz
keucr: fixes else should follow close brace error
This patch fixes the following checkpatch error, ERROR: else should follow close brace '}' Signed-off-by: Amarjargal Gundjalam <amarjargal16@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/keucr/smilmain.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/keucr/smilmain.c b/drivers/staging/keucr/smilmain.c
index fd79cc1..afeb8f8 100644
--- a/drivers/staging/keucr/smilmain.c
+++ b/drivers/staging/keucr/smilmain.c
@@ -1263,11 +1263,9 @@ int Release_D_ReadBlock(struct us_data *us)
if (Erase_D_PhyOneBlock(us)) {
if (ErrCode==ERR_HwError) return ERROR;
if (MarkFail_D_PhyOneBlock(us)) return ERROR;
- }
- else
+ } else
Clr_D_Bit(Assign[Media.Zone],Media.PhyBlock);
- }
- else if (MarkFail_D_PhyOneBlock(us))
+ } else if (MarkFail_D_PhyOneBlock(us))
return ERROR;
Media.PhyBlock=WriteBlock;
@@ -1338,8 +1336,7 @@ int Copy_D_PhyOneSect(struct us_data *us)
err=ERROR;
SectCopyMode=REQ_FAIL;
}
- }
- else {
+ } else {
err=SMSUCCESS;
for(i=0; i<SECTSIZE; i++)
WorkBuf[i]=DUMMY_DATA;
@@ -1681,8 +1678,7 @@ int Make_D_LogTable(struct us_data *us)
Media.PhyBlock=Log2Phy[Media.Zone][logblock];
Log2Phy[Media.Zone][logblock]=phyblock;
}
- }
- else {
+ } else {
Media.PhyBlock=Log2Phy[Media.Zone][logblock];
Log2Phy[Media.Zone][logblock]=phyblock;
}
OpenPOWER on IntegriCloud