diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-09-08 12:44:57 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2005-09-08 12:44:57 +0000 |
commit | f4f73313bc8e06be9400024e4958d7e0290a53c0 (patch) | |
tree | 0939c6219d6bf5ec26fcd4deacd6977790fe58cc /sys/dev/ic/atw.c | |
parent | b8e5e021299a88f2cd4b6cde58cac13c02815ee6 (diff) |
Remove the last of the FreeBSD compatiblity goop.
ok reyk@
Diffstat (limited to 'sys/dev/ic/atw.c')
-rw-r--r-- | sys/dev/ic/atw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c index 0f8e245648a..a3ee829d921 100644 --- a/sys/dev/ic/atw.c +++ b/sys/dev/ic/atw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atw.c,v 1.35 2005/08/27 09:13:50 avsm Exp $ */ +/* $OpenBSD: atw.c,v 1.36 2005/09/08 12:44:55 jsg Exp $ */ /* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */ /*- @@ -77,7 +77,6 @@ __KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $"); #endif #include <net80211/ieee80211_var.h> -#include <net80211/ieee80211_compat.h> #include <net80211/ieee80211_radiotap.h> #include <machine/bus.h> @@ -3814,7 +3813,8 @@ atw_start(struct ifnet *ifp) lasttx = nexttx; } - IASSERT(lasttx != -1, ("bad lastx")); + if (lasttx == -1) + panic("%s: bad lastx", ifp->if_xname); /* Set `first segment' and `last segment' appropriately. */ sc->sc_txdescs[sc->sc_txnext].at_flags |= htole32(ATW_TXFLAG_FS); |