diff options
author | Amarjargal Gundjalam <amarjargal16@gmail.com> | 2013-05-17 01:03:15 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-19 21:05:40 -0700 |
commit | e1a1c4806c73f9426a0fd556fe76391ca12672bc (patch) | |
tree | 4648c36e45edd86fc3cf06ff7055433e21a1bd0c /drivers/staging | |
parent | 23f73b3a0e411d13719043daee666bfb987be13c (diff) |
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/keucr/smilmain.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/staging/keucr/smilmain.c b/drivers/staging/keucr/smilmain.c index fd79cc1ed140..afeb8f86152f 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; } |