From: henning Date: Sat, 19 Apr 2014 16:02:17 +0000 (+0000) Subject: disgusting altq compat hack goes away X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=31ba7e369349af0670b78f8def1160ef6ff5a12b;p=openbsd disgusting altq compat hack goes away --- diff --git a/sys/net/hfsc.h b/sys/net/hfsc.h index d216e84c98c..8cbef7d277a 100644 --- a/sys/net/hfsc.h +++ b/sys/net/hfsc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hfsc.h,v 1.5 2014/01/27 15:41:06 pelikan Exp $ */ +/* $OpenBSD: hfsc.h,v 1.6 2014/04/19 16:02:17 henning Exp $ */ /* * Copyright (c) 2012-2013 Henning Brauer @@ -256,12 +256,6 @@ struct hfsc_if { #define HFSC_ENABLED(ifq) ((ifq)->ifq_hfsc != NULL) #define HFSC_DEFAULT_QLIMIT 50 -/* XXX hack */ -#ifndef ALTQ_IS_ENABLED -#define ALTQ_IS_ENABLED(ifq) HFSC_ENABLED(ifq) -#endif -/* XXX hack */ - struct ifnet; struct ifqueue; struct pf_queuespec; int hfsc_attach(struct ifnet *);