drm/mtk: Remove impossible internal error
authorDaniel Stone <daniels@collabora.com>
Fri, 18 May 2018 13:47:03 +0000 (14:47 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 18 May 2018 14:56:16 +0000 (15:56 +0100)
commitc734f496770801f97ae1a59607634b972b002cdf
tree513c47cef769e41794ba9d16390c2d7371071f95
parent080205096579a07fa1b18fcd28ff4d41c3c6e4d7
drm/mtk: Remove impossible internal error

We cannot create a framebuffer with no objects, so there's no point
testing for it.

v2: Remove the error entirely. (Sean, CK, Thierry)

Signed-off-by: Daniel Stone <daniels@collabora.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20180518134705.12533-1-daniels@collabora.com
drivers/gpu/drm/mediatek/mtk_drm_plane.c