Re: [PATCH][net-next] tcp: remove the now redundant non-null check on tskb

2017-11-14 Thread Eric Dumazet
On Tue, 2017-11-14 at 18:41 +, Colin King wrote: > From: Colin Ian King > > The non-null check on tskb is redundant as it is in an else > section of a check on tskb where tskb is always null. Remove > the redundant if statement and the label coalesce. > > Detected by CoverityScan, CID#145775

[PATCH][net-next] tcp: remove the now redundant non-null check on tskb

2017-11-14 Thread Colin King
From: Colin Ian King The non-null check on tskb is redundant as it is in an else section of a check on tskb where tskb is always null. Remove the redundant if statement and the label coalesce. Detected by CoverityScan, CID#1457751 ("Logically dead code") Fixes: 75c119afe14f ("tcp: implement rb-