diff options
author | Felix Kronlage <fkr@cvs.openbsd.org> | 2006-06-21 11:27:04 +0000 |
---|---|---|
committer | Felix Kronlage <fkr@cvs.openbsd.org> | 2006-06-21 11:27:04 +0000 |
commit | 352c8b1d9301b87bb083059ee15e22c56b05486a (patch) | |
tree | 4f68cef0c815f080ce55b31a0616c587abe4b69a /sys/dev/cardbus/if_ath_cardbus.c | |
parent | 834b1d43c7a47e7cb72960feacca338f86a433ef (diff) |
removal of '#ifdef rbus ... #else ...' directives, we use rbus in all
cases anyways, so we might as well remove code (the !rbus case) thats been
dead throughout the last years and just use the rbus code without ifdefs.
brad, miod "I am all for this diff"
ok deraadt, mickey
Diffstat (limited to 'sys/dev/cardbus/if_ath_cardbus.c')
-rw-r--r-- | sys/dev/cardbus/if_ath_cardbus.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/cardbus/if_ath_cardbus.c b/sys/dev/cardbus/if_ath_cardbus.c index 867ff879c94..5ea1e0153b0 100644 --- a/sys/dev/cardbus/if_ath_cardbus.c +++ b/sys/dev/cardbus/if_ath_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ath_cardbus.c,v 1.8 2006/01/29 20:39:37 fgsch Exp $ */ +/* $OpenBSD: if_ath_cardbus.c,v 1.9 2006/06/21 11:27:03 fkr Exp $ */ /* $NetBSD: if_ath_cardbus.c,v 1.4 2004/08/02 19:14:28 mycroft Exp $ */ /* @@ -159,10 +159,6 @@ ath_cardbus_attach(struct device *parent, struct device *self, void *aux) */ if (Cardbus_mapreg_map(ct, ATH_PCI_MMBA, CARDBUS_MAPREG_TYPE_MEM, 0, &sc->sc_st, &sc->sc_sh, &adr, &csc->sc_mapsize) == 0) { -#if rbus -#else - (*ct->ct_cf->cardbus_mem_open)(cc, 0, adr, adr+csc->sc_mapsize); -#endif csc->sc_bar_val = adr | CARDBUS_MAPREG_TYPE_MEM; } |