drm/rockchip: Remove unnecessary NULL check
authorThierry Reding <treding@nvidia.com>
Wed, 29 Mar 2017 14:44:01 +0000 (16:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Jun 2017 13:38:32 +0000 (15:38 +0200)
commit5a1535b110d73ed8d29c504eeb5fa92ac5b47cd9
tree29e83e62cb9822837dd1211fab405e51b862088d
parent6c8e54714cc54d080189e42fb40b24dddfe85339
drm/rockchip: Remove unnecessary NULL check

The expression &private->fbdev_helper can never be NULL, so the check is
completely unnecessary.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170329144401.1804-12-thierry.reding@gmail.com
drivers/gpu/drm/rockchip/rockchip_drm_fb.c