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

Timur Tabi timur at kernel.org
Mon Dec 3 14:53:53 UTC 2018


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 at zte.com.cn>

Acked-by: Timur Tabi <timur at kernel.org>


More information about the dri-devel mailing list