gbm: Remove is_planar_format dead code
authorDaniel Stone <daniels@collabora.com>
Fri, 16 Jun 2017 13:28:42 +0000 (14:28 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 18 Jul 2017 21:16:20 +0000 (22:16 +0100)
commit7f157a21f16296f72d005d73c301c90a98d1e662
treee769289e3752af1b103247d63dfa260d75a1fb25
parent7ac09e0c5511c1d2f622ab7271e33f6fe8c27841
gbm: Remove is_planar_format dead code

This was only used in create_dumb() to blacklist planar formats.
However, the start of the function already whitelists ARGB8888 (cursor)
and XRGB8888 (scanout), and nothing else. So this entire function can be
removed.

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gbm/backends/dri/gbm_dri.c