Module Name: src
Committed By: knakahara
Date: Thu Mar 30 06:42:05 UTC 2017
Modified Files:
src/sys/net: if_l2tp.c
Log Message:
KNF. pointed out by s-yamaguchi@IIJ
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/net/if_l2tp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/net/if_l2tp.c
diff -u src/sys/net/if_l2tp.c:1.1 src/sys/net/if_l2tp.c:1.2
--- src/sys/net/if_l2tp.c:1.1 Thu Feb 16 08:23:35 2017
+++ src/sys/net/if_l2tp.c Thu Mar 30 06:42:05 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: if_l2tp.c,v 1.1 2017/02/16 08:23:35 knakahara Exp $ */
+/* $NetBSD: if_l2tp.c,v 1.2 2017/03/30 06:42:05 knakahara Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.1 2017/02/16 08:23:35 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.2 2017/03/30 06:42:05 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -993,7 +993,8 @@ l2tp_delete_tunnel(struct ifnet *ifp)
kmem_free(ovar, sizeof(*ovar));
}
-static int id_hash_func(uint32_t id)
+static int
+id_hash_func(uint32_t id)
{
uint32_t hash;