Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci avoid an indentation issue by adding "if (1)".



details:   https://anonhg.NetBSD.org/src/rev/ee40de4029d0
branches:  trunk
changeset: 359327:ee40de4029d0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Feb 07 06:18:11 2018 +0000

description:
avoid an indentation issue by adding "if (1)".

diffstat:

 sys/dev/pci/if_lmc.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8c6d52105895 -r ee40de4029d0 sys/dev/pci/if_lmc.c
--- a/sys/dev/pci/if_lmc.c      Wed Feb 07 06:17:45 2018 +0000
+++ b/sys/dev/pci/if_lmc.c      Wed Feb 07 06:18:11 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_lmc.c,v 1.63 2017/01/24 09:05:28 ozaki-r Exp $ */
+/* $NetBSD: if_lmc.c,v 1.64 2018/02/07 06:18:11 mrg Exp $ */
 
 /*-
  * Copyright (c) 2002-2006 David Boggs. <boggs%boggs.palo-alto.ca.us@localhost>
@@ -74,7 +74,7 @@
  */
 
 # include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_lmc.c,v 1.63 2017/01/24 09:05:28 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_lmc.c,v 1.64 2018/02/07 06:18:11 mrg Exp $");
 # include <sys/param.h>        /* OS version */
 # include "opt_inet.h" /* INET6, INET */
 # include "opt_altq_enabled.h" /* ALTQ */
@@ -5340,7 +5340,7 @@
     printf("LMC driver version %d/%d/%d; options",
      VER_YEAR, VER_MONTH, VER_DAY);
     if (ALTQ)           printf(" ALTQ");
-                        printf(" BPF"); /* always defined */
+    if (1)              printf(" BPF"); /* always defined */
     if (NAPI)           printf(" NAPI");
     if (DEVICE_POLLING) printf(" POLL");
     if (P2P)            printf(" P2P");



Home | Main Index | Thread Index | Old Index