[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160912183223.czxdypdftk2qd2f2@pd.tnic>
Date: Mon, 12 Sep 2016 20:32:23 +0200
From: Borislav Petkov <bp@...en8.de>
To: Colin King <colin.king@...onical.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Doug Thompson <dougthompson@...ssion.com>,
linux-edac@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] EDAC: sb_edac: remove null pointer check on array pci_tad
On Thu, Sep 08, 2016 at 09:38:01AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> pvt->pci_tad is a NUM_CHANNELS array of struct pci_dev pointers and
> hence cannot be null, so the pull pointer check on pci_tad is
> redundant. Remove it.
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/edac/sb_edac.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Applied, thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
Powered by blists - more mailing lists