If the mtu is greater than TD_MSS_MAX, then TSO is disabled, see
rtl8169_fix_features(). Because mss is less than mtu, we can't have
the case mss > TD_MSS_MAX in the TSO path.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
 
        if (mss) {
                opts[0] |= TD_LSO;
-               opts[0] |= min(mss, TD_MSS_MAX) << TD0_MSS_SHIFT;
+               opts[0] |= mss << TD0_MSS_SHIFT;
        } else if (skb->ip_summed == CHECKSUM_PARTIAL) {
                const struct iphdr *ip = ip_hdr(skb);
 
                }
 
                opts[0] |= transport_offset << GTTCPHO_SHIFT;
-               opts[1] |= min(mss, TD_MSS_MAX) << TD1_MSS_SHIFT;
+               opts[1] |= mss << TD1_MSS_SHIFT;
        } else if (skb->ip_summed == CHECKSUM_PARTIAL) {
                u8 ip_protocol;