Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1635827

Re: [PATCH] net/sched: remove redundant null check on head

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] net/sched: remove redundant null check on head
Date 2017-05-04 17:10 +0200
Message-ID <tDqye-595-29@gated-at.bofh.it> (permalink)
References <tD2YX-6a8-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Colin King <colin.king@canonical.com>
Date: Wed,  3 May 2017 14:50:40 +0100

> From: Colin Ian King <colin.king@canonical.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@canonical.com>

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] net/sched: remove redundant null check on head Colin King <colin.king@canonical.com> - 2017-05-03 16:00 +0200
  Re: [PATCH] net/sched: remove redundant null check on head Jiri Pirko <jiri@resnulli.us> - 2017-05-03 16:20 +0200
  Re: [PATCH] net/sched: remove redundant null check on head David Miller <davem@davemloft.net> - 2017-05-04 17:10 +0200

csiph-web