Module Name: src Committed By: riastradh Date: Sun Aug 19 01:33:27 UTC 2018
Modified Files: src/sys/arch/xen/xen: xpci_xenbus.c Log Message: This makes no sense static. (Can't break unused code anyway!) To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/xen/xen/xpci_xenbus.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/arch/xen/xen/xpci_xenbus.c diff -u src/sys/arch/xen/xen/xpci_xenbus.c:1.17 src/sys/arch/xen/xen/xpci_xenbus.c:1.18 --- src/sys/arch/xen/xen/xpci_xenbus.c:1.17 Mon Aug 13 15:48:21 2018 +++ src/sys/arch/xen/xen/xpci_xenbus.c Sun Aug 19 01:33:26 2018 @@ -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 @@ xpci_conf_read(pci_chipset_tag_t pc, pci 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;