nfs: removed unnecessary semicolon
Subsystems (2)
PATCH 1/1 nfs: removed unnecessary semicolon
From: Aliasgar Surti <[email protected]>
There are use of unneeded semicolon after the closing braces of switch case in multiple files.
Removed the same.
Signed-off-by Aliasgar Surti <[email protected]>
--- fs/nfs/nfs4state.c | 2 +- fs/nfs/super.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-)
fs/nfs/nfs4state.c +1 -1
@@ -1134,7 +1134,7 @@ static void nfs_increment_seqid(int status, struct nfs_seqid *seqid)case -NFS4ERR_MOVED :/* Non-seqid mutating errors */ return ; - }; + }/* * Note: no locking needed as we are guaranteed to be first * on the sequence list
fs/nfs/super.c +3 -3
@@ -1592,7 +1592,7 @@ static int nfs_parse_mount_options(char *raw,dfprintk (MOUNT ,"NFS: invalid " "lookupcache argument\n" );return 0 ; - }; + }break ;case Opt_fscache_uniq:if (nfs_get_option_str (args, &mnt->fscache_uniq))
@@ -1625,7 +1625,7 @@ static int nfs_parse_mount_options(char *raw,dfprintk (MOUNT ,"NFS: invalid " "local_lock argument\n" );return 0 ; - }; + }break ;/*
@@ -2585,7 +2585,7 @@ static void nfs_get_cache_cookie(struct super_block *sb,if (mnt_s->fscache_key) { uniq = mnt_s->fscache_key->key.uniquifier; ulen = mnt_s->fscache_key->key.uniq_len; - }; + } }else return ;
Signature · 1 line
2.17.1