summaryrefslogtreecommitdiff
path: root/marvell.c
diff options
context:
space:
mode:
Diffstat (limited to 'marvell.c')
-rw-r--r--marvell.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/marvell.c b/marvell.c
index f209139..c0b600b 100644
--- a/marvell.c
+++ b/marvell.c
@@ -14,11 +14,8 @@ static const uint32_t render_target_formats[] = { DRM_FORMAT_ARGB8888, DRM_FORMA
static int marvell_init(struct driver *drv)
{
- int ret;
- ret = drv_add_combinations(drv, render_target_formats, ARRAY_SIZE(render_target_formats),
- &LINEAR_METADATA, BO_USE_RENDER_MASK);
- if (ret)
- return ret;
+ drv_add_combinations(drv, render_target_formats, ARRAY_SIZE(render_target_formats),
+ &LINEAR_METADATA, BO_USE_RENDER_MASK);
return drv_add_linear_combinations(drv, render_target_formats,
ARRAY_SIZE(render_target_formats));