summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/intel/drm/intel_drm_winsys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/winsys/intel/drm/intel_drm_winsys.c b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
index d246a5fdb59..13563578c0d 100644
--- a/src/gallium/winsys/intel/drm/intel_drm_winsys.c
+++ b/src/gallium/winsys/intel/drm/intel_drm_winsys.c
@@ -324,7 +324,6 @@ intel_winsys_export_handle(struct intel_winsys *winsys,
case DRM_API_HANDLE_TYPE_KMS:
handle->handle = ((drm_intel_bo *) bo)->handle;
break;
-#if 0
case DRM_API_HANDLE_TYPE_FD:
{
int fd;
@@ -334,7 +333,6 @@ intel_winsys_export_handle(struct intel_winsys *winsys,
handle->handle = fd;
}
break;
-#endif
default:
err = -EINVAL;
break;