Skip to content
Commit 5c29085a authored by Wen Yang's avatar Wen Yang Committed by Bartlomiej Zolnierkiewicz
Browse files

fbdev: fsl-diu: remove redundant null check on cmap



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: default avatarWen Yang <wen.yang99@zte.com.cn>
Acked-by: default avatarTimur Tabi <timur@kernel.org>
Cc: zhong.weidong@zte.com.cn
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 452f2d49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment