]> git.karo-electronics.de Git - linux-beck.git/commitdiff
NFS: Remove unnecessary semicolons (fs/nfs/client.c)
authorYanchuan Nian <ycnian@gmail.com>
Mon, 10 Sep 2012 00:40:16 +0000 (08:40 +0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 1 Oct 2012 22:40:03 +0000 (15:40 -0700)
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>
fs/nfs/client.c

index bab3e8af574a33cd19aff71ad7d17756d5b4f66d..8b39a42ac35ee5d8c081f205e631b6b2458b4be1 100644 (file)
@@ -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)