summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-08-17 12:46:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-08-17 12:46:33 +0000
commit02784bab623a72c1279aab6dc4dadf351654c117 (patch)
treeb463b8ba3dcf2f7807fe934678a487349dc4adbd /sys/dev
parenta68171c816f347bcb919ae5832cd9d79b0b2b26b (diff)
Remove duplicate line introduced in rev 1.72. Coverity CID 1452888.
ok mikeb@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_xge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_xge.c b/sys/dev/pci/if_xge.c
index d550e8e927b..b35f2fceae7 100644
--- a/sys/dev/pci/if_xge.c
+++ b/sys/dev/pci/if_xge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xge.c,v 1.76 2017/06/09 14:34:10 mikeb Exp $ */
+/* $OpenBSD: if_xge.c,v 1.77 2017/08/17 12:46:32 jsg Exp $ */
/* $NetBSD: if_xge.c,v 1.1 2005/09/09 10:30:27 ragge Exp $ */
/*
@@ -408,7 +408,6 @@ xge_attach(struct device *parent, struct device *self, void *aux)
/* Save PCI config space */
for (i = 0; i < XGE_PCISIZE_XENA; i += 4)
sc->sc_pciregs[i/4] = pci_conf_read(pa->pa_pc, pa->pa_tag, i);
- sc->sc_pciregs[i/4] = pci_conf_read(pa->pa_pc, pa->pa_tag, i);
}
#if BYTE_ORDER == LITTLE_ENDIAN