egl: drop unused ${drv}_driver()
authorEric Engestrom <eric@engestrom.ch>
Mon, 3 Aug 2020 14:52:03 +0000 (16:52 +0200)
committerMarge Bot <eric+marge@anholt.net>
Sun, 16 Aug 2020 13:49:18 +0000 (13:49 +0000)
Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6241>

src/egl/main/egldriver.h

index d4fa5aab145ca90d110d38ac95423d46535fece9..150e3556c045fb892b7364ea91439713061e9015 100644 (file)
@@ -55,14 +55,13 @@ extern "C" {
 
 
 /**
- * Define the driver typecast functions for _EGLDriver, _EGLDisplay,
+ * Define the driver typecast functions for _EGLDisplay,
  * _EGLContext, _EGLSurface, and _EGLConfig.
  *
  * Note that this macro defines several functions and should not be ended with
  * a semicolon when used.
  */
 #define _EGL_DRIVER_STANDARD_TYPECASTS(drvname)                            \
-   _EGL_DRIVER_TYPECAST(drvname ## _driver, _EGLDriver, obj)               \
    /* note that this is not a direct cast */                               \
    _EGL_DRIVER_TYPECAST(drvname ## _display, _EGLDisplay, obj->DriverData) \
    _EGL_DRIVER_TYPECAST(drvname ## _context, _EGLContext, obj)             \