summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorYanchuan Nian <ycnian@gmail.com>2012-09-10 08:40:16 +0800
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-01 15:40:03 -0700
commitee34e13620d0678d420ce50101aaef94ab81fc74 (patch)
treeb5247dd8ac424057f126c20c19f25e7a497dc52a /fs
parent4e266229dbb0782d91b75633322edd632794b86d (diff)
downloadlinux-ee34e13620d0678d420ce50101aaef94ab81fc74.tar.gz
linux-ee34e13620d0678d420ce50101aaef94ab81fc74.tar.bz2
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)