summaryrefslogtreecommitdiff
path: root/bsd/drm_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd/drm_context.h')
-rw-r--r--bsd/drm_context.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/bsd/drm_context.h b/bsd/drm_context.h
index 7761e9b8..c7823ac1 100644
--- a/bsd/drm_context.h
+++ b/bsd/drm_context.h
@@ -218,10 +218,6 @@ int DRM(context_switch)( drm_device_t *dev, int old, int new )
return 0;
}
- if ( DRM(flags) & DRM_FLAG_NOCTX ) {
- DRM(context_switch_complete)( dev, new );
- }
-
return 0;
}
@@ -391,10 +387,6 @@ int DRM(context_switch)(drm_device_t *dev, int old, int new)
return DRM_ERR(EINVAL);
}
- if (DRM(flags) & DRM_FLAG_NOCTX) {
- DRM(context_switch_complete)(dev, new);
- }
-
atomic_dec(&q->use_count);
return 0;