diff options
author | Emil Velikov <[email protected]> | 2016-10-11 19:39:24 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-14 11:09:00 +0100 |
commit | 9837cf13b153218d9a5f32f538277e4fc139cebe (patch) | |
tree | 688eaa6310a8174c63e183fd60b2f56f1bcf12f5 /src/gallium/include | |
parent | 0f031dcf115c1dfbd87c3d8b986a86431cfdf217 (diff) |
gallium: remove unused drm_driver_descriptor::driver_name
Likely unused since day 1, although I've only checked back until the
st/dri unification with commit 29ca7d2c948 ("st/dri: merge dri/drm and
dri/sw backends")
Based on the comment, referencing drmOpenByName it's not something we
want to bring back.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/state_tracker/drm_driver.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h index 540cc38dcb9..06f41e72998 100644 --- a/src/gallium/include/state_tracker/drm_driver.h +++ b/src/gallium/include/state_tracker/drm_driver.h @@ -91,11 +91,6 @@ struct drm_driver_descriptor const char *name; /** - * Kernel driver name, as accepted by drmOpenByName. - */ - const char *driver_name; - - /** * Create a pipe srcreen. * * This function does any wrapping of the screen. @@ -103,7 +98,6 @@ struct drm_driver_descriptor */ struct pipe_screen* (*create_screen)(int drm_fd); - /** * Return a configuration value. * @@ -119,10 +113,9 @@ extern struct drm_driver_descriptor driver_descriptor; /** * Instantiate a drm_driver_descriptor struct. */ -#define DRM_DRIVER_DESCRIPTOR(name_str, driver_name_str, func, conf) \ +#define DRM_DRIVER_DESCRIPTOR(name_str, func, conf) \ struct drm_driver_descriptor driver_descriptor = { \ .name = name_str, \ - .driver_name = driver_name_str, \ .create_screen = func, \ .configuration = (conf), \ }; |