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

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Thu Dec 20 17:58:49 UTC 2018


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 at zte.com.cn>
> 
> Acked-by: Timur Tabi <timur at kernel.org>

Patch queued for 4.21, thanks.

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


More information about the dri-devel mailing list