drm/atmel-hlcdc: Remove unnecessary NULL check
authorThierry Reding <treding@nvidia.com>
Wed, 29 Mar 2017 14:44:00 +0000 (16:44 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Jun 2017 13:38:26 +0000 (15:38 +0200)
commit6c8e54714cc54d080189e42fb40b24dddfe85339
treee047253b229dd9f8b57d95c635c7f5b6e32ec4e4
parent85909716621702c777de512377fe952fb5677aec
drm/atmel-hlcdc: Remove unnecessary NULL check

drm_fbdev_cma_hotplug_event() already checks for NULL pointers before
dereferencing, so callers don't need to do that.

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-11-thierry.reding@gmail.com
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c