Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/xen/xen This makes no sense static. (Can't break u...



details:   https://anonhg.NetBSD.org/src/rev/b57e063fd505
branches:  trunk
changeset: 363980:b57e063fd505
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 19 01:33:26 2018 +0000

description:
This makes no sense static.  (Can't break unused code anyway!)

diffstat:

 sys/arch/xen/xen/xpci_xenbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ca90266b2740 -r b57e063fd505 sys/arch/xen/xen/xpci_xenbus.c
--- a/sys/arch/xen/xen/xpci_xenbus.c    Sat Aug 18 23:35:18 2018 +0000
+++ b/sys/arch/xen/xen/xpci_xenbus.c    Sun Aug 19 01:33:26 2018 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: xpci_xenbus.c,v 1.17 2018/08/13 15:48:21 maxv Exp $      */
+/*      $NetBSD: xpci_xenbus.c,v 1.18 2018/08/19 01:33:26 riastradh Exp $      */
 
 /*
  * Copyright (c) 2009 Manuel Bouyer.
@@ -25,7 +25,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.17 2018/08/13 15:48:21 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xpci_xenbus.c,v 1.18 2018/08/19 01:33:26 riastradh Exp $");
 
 #include "opt_xen.h"
 
@@ -454,7 +454,7 @@
 pcireg_t
 pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)
 {
-       static pcireg_t v; /* XXXSMP: why static? */
+       pcireg_t v;
 
        xpci_conf_read(pc, tag, reg, 4, &v);
        return v;



Home | Main Index | Thread Index | Old Index