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

From: Bartlomiej Zolnierkiewicz
Date: Thu Dec 20 2018 - 12:58:56 EST



On 12/03/2018 03:53 PM, Timur Tabi wrote:
> 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>

Patch queued for 4.21, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics