Module Name:    src
Committed By:   skrll
Date:           Sun Aug 21 07:03:09 UTC 2022

Modified Files:
        src/sys/net: if.c

Log Message:
Style / whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.517 -r1.518 src/sys/net/if.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.c
diff -u src/sys/net/if.c:1.517 src/sys/net/if.c:1.518
--- src/sys/net/if.c:1.517	Sat Aug 20 15:11:27 2022
+++ src/sys/net/if.c	Sun Aug 21 07:03:09 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.517 2022/08/20 15:11:27 riastradh Exp $	*/
+/*	$NetBSD: if.c,v 1.518 2022/08/21 07:03:09 skrll Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.517 2022/08/20 15:11:27 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.518 2022/08/21 07:03:09 skrll Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -3583,12 +3583,11 @@ doifioctl(struct socket *so, u_long cmd,
 		curlwp_bindx(bound);
 		return r;
 
-	case SIOCIFGCLONERS:
-		{
-			struct if_clonereq *req = (struct if_clonereq *)data;
-			return if_clone_list(req->ifcr_count, req->ifcr_buffer,
-			    &req->ifcr_total);
-		}
+	case SIOCIFGCLONERS: {
+		struct if_clonereq *req = (struct if_clonereq *)data;
+		return if_clone_list(req->ifcr_count, req->ifcr_buffer,
+		    &req->ifcr_total);
+	    }
 	}
 
 	if ((cmd & IOC_IN) == 0 || IOCPARM_LEN(cmd) < sizeof(ifr->ifr_name))

Reply via email to