diff options
Diffstat (limited to 'src/sna/sna_dri.c')
-rw-r--r-- | src/sna/sna_dri.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c index f3a5d9c0..25f66b31 100644 --- a/src/sna/sna_dri.c +++ b/src/sna/sna_dri.c @@ -2251,13 +2251,6 @@ out_complete: } #endif -#if DRI2INFOREC_VERSION >= 8 && XMIR -static int sna_dri_auth_magic2(ScreenPtr screen, uint32_t magic) -{ - return xmir_auth_drm_magic(to_sna_from_screen(screen)->xmir, magic); -} -#endif - static bool has_i830_dri(void) { return access(DRI_DRIVER_PATH "/i830_dri.so", R_OK) == 0; @@ -2333,13 +2326,6 @@ bool sna_dri_open(struct sna *sna, ScreenPtr screen) info.ReuseBufferNotify = NULL; #endif -#if DRI2INFOREC_VERSION >= 8 && XMIR - if (sna->xmir) { - info.version = 8; - info.AuthMagic2 = sna_dri_auth_magic2; - } -#endif - #if USE_ASYNC_SWAP info.version = 10; info.scheduleSwap0 = 1; |