summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2007-02-25 10:06:04 +0000
committermglocker <mglocker@openbsd.org>2007-02-25 10:06:04 +0000
commit7cbacd234a2c0102764694227f80076154b7c772 (patch)
treea14ed4da19d3cef17dbef9c8b7887e9ca600d1e2
parentCalculate number of cores correctly. This is done based on the common (diff)
downloadwireguard-openbsd-7cbacd234a2c0102764694227f80076154b7c772.tar.xz
wireguard-openbsd-7cbacd234a2c0102764694227f80076154b7c772.zip
No need to fillup chip_rev here.
-rw-r--r--sys/dev/cardbus/if_bcw_cardbus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cardbus/if_bcw_cardbus.c b/sys/dev/cardbus/if_bcw_cardbus.c
index d4936135ef4..91d5c089c1e 100644
--- a/sys/dev/cardbus/if_bcw_cardbus.c
+++ b/sys/dev/cardbus/if_bcw_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bcw_cardbus.c,v 1.6 2007/02/25 09:07:18 mglocker Exp $ */
+/* $OpenBSD: if_bcw_cardbus.c,v 1.7 2007/02/25 10:06:04 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -137,7 +137,6 @@ bcw_cardbus_attach(struct device *parent, struct device *self, void *aux)
/*
* Get some cardbus info into the softc
*/
- sc->sc_chip_rev = PCI_REVISION(ca->ca_class);
sc->sc_prodid = CARDBUS_PRODUCT(ca->ca_id);
#if 0