drm/tilcdc: remove unnecessary state->fb check
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 29 Apr 2020 10:42:33 +0000 (13:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 19 May 2020 06:56:58 +0000 (09:56 +0300)
commit26c06633f6b1ed03c2b9bb3484e9777e95f03d31
treefdf729527cd8be4a745e8b06583fd6b1296aab4a
parent3f9c1c872cc97875ddc8d63bc9fe6ee13652b933
drm/tilcdc: remove unnecessary state->fb check

tilcdc_plane_atomic_check() exits if state->fb == NULL, so no need to
check it again later.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200429104234.18910-2-tomi.valkeinen@ti.com
Reviewed-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_plane.c