From b3247539e4454c457d43bed94d95387faa133801 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Thu, 18 May 2017 16:00:50 +0200 Subject: [PATCH] [DRM plugin] Remove dead code Reviewed-By: Roman Gilg --- plugins/platforms/drm/drm_backend.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/platforms/drm/drm_backend.cpp b/plugins/platforms/drm/drm_backend.cpp index 9afa8b79c3..1641971928 100644 --- a/plugins/platforms/drm/drm_backend.cpp +++ b/plugins/platforms/drm/drm_backend.cpp @@ -710,7 +710,6 @@ DrmSurfaceBuffer *DrmBackend::createBuffer(gbm_surface *surface) { DrmSurfaceBuffer *b = new DrmSurfaceBuffer(this, surface); return b; - return nullptr; } #endif