Re: [PATCH] net/sched: remove redundant null check on head
From: David Miller
Date: Thu May 04 2017 - 11:05:10 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 3 May 2017 14:50:40 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> head is previously null checked and so the 2nd null check on head
> is redundant and therefore can be removed.
>
> Detected by CoverityScan, CID#1399505 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.