From 9fcf944d2ab177691803626c24a94fa931a59d01 Mon Sep 17 00:00:00 2001 From: hselasky Date: Wed, 19 Nov 2014 09:03:12 +0000 Subject: MFC r274376: Fix some minor TSO issues: - Improve description of TSO limits. - Remove a not needed KASSERT() - Remove some not needed variable casts. Sponsored by: Mellanox Technologies --- sys/net/if.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/net/if.c') diff --git a/sys/net/if.c b/sys/net/if.c index 2e5d0ab..2fc62ea 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -731,13 +731,6 @@ if_attach_internal(struct ifnet *ifp, int vmove) ifp->if_hw_tsomaxsegsize); } } - /* - * If the "if_hw_tsomax" limit is set, check if it is - * too small: - */ - KASSERT(ifp->if_hw_tsomax == 0 || - ifp->if_hw_tsomax >= (IP_MAXPACKET / 8), - ("%s: if_hw_tsomax is outside of range", __func__)); #endif } #ifdef VIMAGE -- cgit v1.1