summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYanchuan Nian <ycnian@gmail.com>2012-09-10 02:40:16 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 00:40:03 +0200
commitee34e13620d0678d420ce50101aaef94ab81fc74 (patch)
treeb5247dd8ac424057f126c20c19f25e7a497dc52a /fs
parentpnfsblock: use list_move_tail instead of list_del/list_add_tail (diff)
downloadlinux-ee34e13620d0678d420ce50101aaef94ab81fc74.tar.xz
linux-ee34e13620d0678d420ce50101aaef94ab81fc74.zip
NFS: Remove unnecessary semicolons (fs/nfs/client.c)
There are some unnecessary semicolons in function find_nfs_version. Just remove them. Signed-off-by: Yanchuan Nian <ycnian@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index bab3e8af574a..8b39a42ac35e 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -93,10 +93,10 @@ static struct nfs_subversion *find_nfs_version(unsigned int version)
spin_unlock(&nfs_version_lock);
return nfs;
}
- };
+ }
spin_unlock(&nfs_version_lock);
- return ERR_PTR(-EPROTONOSUPPORT);;
+ return ERR_PTR(-EPROTONOSUPPORT);
}
struct nfs_subversion *get_nfs_version(unsigned int version)