aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/bridge/cdns-dsi.c
diff options
context:
space:
mode:
authorPhilippe CORNU <[email protected]>2018-04-10 15:53:12 +0200
committerPhilippe Cornu <[email protected]>2018-04-19 12:24:45 +0200
commitc20f5f69c898899027c3e573afaab837195895b6 (patch)
tree0aeeab386166ead395057bb429f2cec01926ae94 /drivers/gpu/drm/bridge/cdns-dsi.c
parent25bb1a9de3cc36ea1fd2dc10f4a375571be0ff37 (diff)
drm/stm: ltdc: fix warning in ltdc_crtc_update_clut()
Fix the warning "warn: variable dereferenced before check 'crtc' (see line 390)" by removing unnecessary checks as ltdc_crtc_update_clut() is only called from ltdc_crtc_atomic_flush() where crtc and crtc->state are not NULL. Many thanks to Dan Carpenter for the bug report https://lists.freedesktop.org/archives/dri-devel/2018-February/166918.html Signed-off-by: Philippe Cornu <[email protected]> Reported-by: Dan Carpenter <[email protected]> Reviewed-by: yannick fertre <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/bridge/cdns-dsi.c')
0 files changed, 0 insertions, 0 deletions