From 24a508820c02ac3f4afbebfb3fc3c66acfd2aeda Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Fri, 28 Jun 2019 02:21:42 +0000 Subject: [PATCH] cxgbe/iw_cxgbe: Remove unused field from the endpoint structure. MFC after: 3 days --- sys/dev/cxgbe/iw_cxgbe/cm.c | 1 - sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/dev/cxgbe/iw_cxgbe/cm.c b/sys/dev/cxgbe/iw_cxgbe/cm.c index 9f82e9698be1..4fa220e23896 100644 --- a/sys/dev/cxgbe/iw_cxgbe/cm.c +++ b/sys/dev/cxgbe/iw_cxgbe/cm.c @@ -528,7 +528,6 @@ set_tcpinfo(struct c4iw_ep *ep) ep->hwtid = toep->tid; ep->snd_seq = tp->snd_nxt; ep->rcv_seq = tp->rcv_nxt; - ep->emss = max(tp->t_maxseg, 128); done: INP_WUNLOCK(inp); return (rc); diff --git a/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h b/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h index 0674f21a730d..09d41af36d8f 100644 --- a/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h +++ b/sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h @@ -862,7 +862,6 @@ struct c4iw_ep { u32 tx_chan; u32 mtu; u16 mss; - u16 emss; u16 plen; u16 rss_qid; u16 txq_idx;