Skip to contentSkip to conversation

NFS: Remove unnecessary semicolons (fs/nfs/client.c)

PATCH New [email protected] 1 participant 1 message Sep 10, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFS: Remove unnecessary semicolons (fs/nfs/client.c)

From: Yanchuan Nian <[email protected]>

There are some unnecessary semicolons in function find_nfs_version. Just remove them.

---
 fs/nfs/client.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/nfs/client.c +2 -2
index 9969444..d2e1612 100644
@@ -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)
Signature · 1 line
1.7.4.4