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

From
Bartlomiej Zolnierkiewicz <hidden>
Date
2018-12-20 17:58:55
Also in
dri-devel, lkml
Reply to
Timur Tabi, 2018-12-03
On 12/03/2018 03:53 PM, Timur Tabi wrote:
On 12/3/18 12:43 AM, Wen Yang wrote:
quoted
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<redacted>
Acked-by: Timur Tabi <timur@kernel.org>
Patch queued for 4.21, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
Thread (3 messages) 3 messages, 3 authors, last reply 2018-12-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help