[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6080101.Xh3F3pdZMM@vostro.rjw.lan>
Date: Fri, 11 Mar 2016 00:34:56 +0100
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Colin King <colin.king@...onical.com>
Cc: "Rafael J . Wysocki" <rafael.j.wysocki@...el.com>,
Len Brown <len.brown@...el.com>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI / utils: remove redundant check if element is NULL
On Sunday, February 28, 2016 08:31:49 PM Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> element is &package->package.elements[i] which can never be NULL
> so the check to see if it is NULL is redundant and can be removed.
>
> Detected with static analysis by CoverityScan
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied, thanks!
Rafael
Powered by blists - more mailing lists