summaryrefslogtreecommitdiffstats
path: root/sys/i4b/capi/iavc/iavc_lli.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i4b/capi/iavc/iavc_lli.c')
-rw-r--r--sys/i4b/capi/iavc/iavc_lli.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i4b/capi/iavc/iavc_lli.c b/sys/i4b/capi/iavc/iavc_lli.c
index a8ffb5a..c7455b2 100644
--- a/sys/i4b/capi/iavc/iavc_lli.c
+++ b/sys/i4b/capi/iavc/iavc_lli.c
@@ -256,11 +256,8 @@ int iavc_send(capi_softc_t *capi_sc, struct mbuf *m)
}
if (_IF_QFULL(&sc->sc_txq)) {
-#if defined (__FreeBSD__) && __FreeBSD__ > 4
+
_IF_DROP(&sc->sc_txq);
-#else
- IF_DROP(&sc->sc_txq);
-#endif
printf("iavc%d: tx overflow, message dropped\n", sc->sc_unit);
OpenPOWER on IntegriCloud