Re: [PATCH] fbdev: fsl-diu: remove redundant null check on cmap

From: Timur Tabi
Date: Mon Dec 03 2018 - 09:53:57 EST


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@xxxxxxxxxx>

Acked-by: Timur Tabi <timur@xxxxxxxxxx>