projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e33d87
)
sfc: Remove dead write to tso_state::packet_space
author
Ben Hutchings
<bhutchings@solarflare.com>
Tue, 19 Jun 2012 18:57:22 +0000
(19:57 +0100)
committer
Ben Hutchings
<bhutchings@solarflare.com>
Tue, 17 Jul 2012 15:12:30 +0000
(16:12 +0100)
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: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/tx.c
b/drivers/net/ethernet/sfc/tx.c
index
18860f2
..
cfa5f6d
100644
(file)
--- a/
drivers/net/ethernet/sfc/tx.c
+++ b/
drivers/net/ethernet/sfc/tx.c
@@
-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;