lkml.org 
[lkml]   [2018]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] fbdev: fsl-diu: remove redundant null check on cmap
From
Date
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@zte.com.cn>

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

\
 
 \ /
  Last update: 2018-12-03 15:54    [W:0.063 / U:6.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site