Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Style / whitespace.



details:   https://anonhg.NetBSD.org/src/rev/cf890d23d4ef
branches:  trunk
changeset: 369537:cf890d23d4ef
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Aug 21 07:03:09 2022 +0000

description:
Style / whitespace.

diffstat:

 sys/net/if.c |  15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diffs (36 lines):

diff -r 240b9cdd4bf4 -r cf890d23d4ef sys/net/if.c
--- a/sys/net/if.c      Sat Aug 20 23:50:41 2022 +0000
+++ b/sys/net/if.c      Sun Aug 21 07:03:09 2022 +0000
@@ -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 @@
                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))



Home | Main Index | Thread Index | Old Index