[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bda8bdc3-46cb-883d-1ddc-8fda0cf241be@kernel.org>
Date: Mon, 3 Dec 2018 08:53:53 -0600
From: Timur Tabi <timur@...nel.org>
To: Wen Yang <wen.yang99@....com.cn>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
Cc: linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, zhong.weidong@....com.cn
Subject: Re: [PATCH] fbdev: fsl-diu: remove redundant null check on cmap
On 12/3/18 12:43 AM, Wen Yang wrote:
> The null check on &info->cmap is redundant since cmap is a struct
> inside fb_info and can never be null, so the check is always true.
> we may remove it.
>
> Signed-off-by: Wen Yang<wen.yang99@....com.cn>
Acked-by: Timur Tabi <timur@...nel.org>
Powered by blists - more mailing lists