summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-12-12 02:45:17 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-12-12 02:45:17 +0000
commit7640547ac480be887c4606bdf7d1067824f14dfb (patch)
tree3bffb506e2dbc3bdbecdcc43d132ad6fd20cd01d
parent3aa62732c5bad060fc283109dc727af10ea5b33b (diff)
small cleanup after feng shui
-rw-r--r--sys/dev/pci/ahci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/ahci.c b/sys/dev/pci/ahci.c
index f192129e084..d63cd1903f1 100644
--- a/sys/dev/pci/ahci.c
+++ b/sys/dev/pci/ahci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ahci.c,v 1.30 2006/12/12 02:44:00 dlg Exp $ */
+/* $OpenBSD: ahci.c,v 1.31 2006/12/12 02:45:16 dlg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -282,7 +282,6 @@ ahci_attach(struct device *parent, struct device *self, void *aux)
if (ahcidebug & AHCI_D_VERBOSE) {
const char *gen;
- reg = ahci_read(sc, AHCI_REG_CAP);
switch (reg & AHCI_REG_CAP_ISS) {
case AHCI_REG_CAP_ISS_G1:
gen = "1 (1.5Gbps)";