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

- From: Timur Tabi \<timur@kernel.org\>
- Date: 2018-12-03 14:53:57 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2018/12/5451045
- Thread: https://ratatoskr.run/linux-fbdev/2018/12/5450515/t.md

```text
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<redacted>

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