[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170503141533.GC2077@nanopsycho.orion>
Date: Wed, 3 May 2017 16:15:33 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Colin King <colin.king@...onical.com>
Cc: Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org,
"David S . Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/sched: remove redundant null check on head
Wed, May 03, 2017 at 03:50:40PM CEST, colin.king@...onical.com wrote:
>From: Colin Ian King <colin.king@...onical.com>
>
>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@...onical.com>
Acked-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists