From: Charles Manning Date: Fri, 7 Jan 2011 01:21:00 +0000 (+1300) Subject: yaffs direct: Clean up braces X-Git-Tag: linux-mainline-patchset-4~5^2~4 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=5907bcd9553ddbddfbfbf116193834a3f444c70b yaffs direct: Clean up braces Change bracing style. Signed-off-by: Charles Manning --- diff --git a/direct/yaffsfs.c b/direct/yaffsfs.c index e3bc19d..e4f6df0 100644 --- a/direct/yaffsfs.c +++ b/direct/yaffsfs.c @@ -650,13 +650,11 @@ static struct yaffs_obj *yaffsfs_DoFindDirectory(struct yaffs_obj *startDir, /* got to the end of the string */ return dir; else{ - if(strcmp(str,_Y(".")) == 0) - { + if(strcmp(str,_Y(".")) == 0){ /* Do nothing */ - } - else if(strcmp(str,_Y("..")) == 0) + } else if(strcmp(str,_Y("..")) == 0) { dir = dir->parent; - else{ + } else{ dir = yaffs_find_by_name(dir,str); dir = yaffsfs_FollowLink(dir,symDepth,loop);