diff options
Diffstat (limited to 'bsd-core/drm_context.c')
-rw-r--r-- | bsd-core/drm_context.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bsd-core/drm_context.c b/bsd-core/drm_context.c index 7761e9b8..c7823ac1 100644 --- a/bsd-core/drm_context.c +++ b/bsd-core/drm_context.c @@ -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; |