* [PATCH] NFS: Remove unnecessary semicolons (fs/nfs/client.c)
@ 2012-09-10 0:40 ycnian
0 siblings, 0 replies; only message in thread
From: ycnian @ 2012-09-10 0:40 UTC (permalink / raw)
To: Trond.Myklebust, linux-nfs, linux-kernel; +Cc: Yanchuan Nian
From: Yanchuan Nian <ycnian@gmail.com>
There are some unnecessary semicolons in function find_nfs_version. Just remove them.
Signed-off-by: Yanchuan Nian <ycnian@gmail.com>
---
fs/nfs/client.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 9969444..d2e1612 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)
--
1.7.4.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-10 0:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10 0:40 [PATCH] NFS: Remove unnecessary semicolons (fs/nfs/client.c) ycnian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).