fix semicolon.cocci warnings
diff mbox

Message ID alpine.DEB.2.20.1704260717290.5347@hadrien
State New
Headers show

Commit Message

Julia Lawall April 26, 2017, 5:18 a.m. UTC
Remove unneeded semicolons.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 mount.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

--- a/fs/nfs/mount.c
+++ b/fs/nfs/mount.c
@@ -1134,7 +1134,7 @@  static int nfs_mount_ctx_option(struct m
 		default:
 			mc->error = "NFS: Invalid lookupcache argument";
 			return -EINVAL;
-		};
+		}
 		break;
 	case Opt_fscache_uniq:
 		if (nfs_get_option_str(args, &mnt->fscache_uniq))
@@ -1165,7 +1165,7 @@  static int nfs_mount_ctx_option(struct m
 		default:
 			mc->error = "NFS: invalid local_lock argument";
 			return -EINVAL;
-		};
+		}
 		break;

 		/*