Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e718905c authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Remove dead write to tso_state::packet_space



tso_state::packet_space is always set in tso_start_packet(); the
value set in tso_start() is not used, and is also incorrect.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent 0e33d870
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -926,7 +926,6 @@ static void tso_start(struct tso_state *st, const struct sk_buff *skb)
	EFX_BUG_ON_PARANOID(tcp_hdr(skb)->syn);
	EFX_BUG_ON_PARANOID(tcp_hdr(skb)->rst);

	st->packet_space = st->full_packet_size;
	st->out_len = skb->len - st->header_len;
	st->unmap_len = 0;
	st->unmap_single = false;