From e1a1c4806c73f9426a0fd556fe76391ca12672bc Mon Sep 17 00:00:00 2001 From: Amarjargal Gundjalam Date: Fri, 17 May 2013 01:03:15 -0700 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/keucr/smilmain.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'drivers/staging') 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