Mesa (master): egl/dri: remove old left-overs

Nicolai Hähnle nh at kemper.freedesktop.org
Tue Oct 10 12:04:00 UTC 2017


Module: Mesa
Branch: master
Commit: 4ec2ac11bd277a7eaa7cc506fd88228d05a22cd9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ec2ac11bd277a7eaa7cc506fd88228d05a22cd9

Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date:   Tue Oct 10 13:58:47 2017 +0200

egl/dri: remove old left-overs

Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 src/egl/drivers/dri2/platform_x11_dri3.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/egl/drivers/dri2/platform_x11_dri3.c b/src/egl/drivers/dri2/platform_x11_dri3.c
index 45bb56ca17..eadd37141e 100644
--- a/src/egl/drivers/dri2/platform_x11_dri3.c
+++ b/src/egl/drivers/dri2/platform_x11_dri3.c
@@ -304,8 +304,6 @@ dri3_create_image_khr(_EGLDriver *drv, _EGLDisplay *disp,
                       _EGLContext *ctx, EGLenum target,
                       EGLClientBuffer buffer, const EGLint *attr_list)
 {
-   (void) drv;
-
    switch (target) {
    case EGL_NATIVE_PIXMAP_KHR:
       return dri3_create_image_khr_pixmap(disp, ctx, buffer, attr_list);




More information about the mesa-commit mailing list