[PATCH] net/utils: fix semicolon.cocci warnings

kbuild test robot lkp at intel.com
Thu Feb 16 13:34:03 PST 2017


net/core/utils.c:388:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

CC: Sagi Grimberg <sagi at grimberg.me>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 utils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/net/core/utils.c
+++ b/net/core/utils.c
@@ -385,7 +385,7 @@ int inet_pton_with_scope(struct net *net
 		break;
 	default:
 		pr_err("unexpected address family %d\n", af);
-	};
+	}
 
 	return -EINVAL;
 }



More information about the Linux-nvme mailing list