From bcd527ee71043478d27ec3e5b611c9f34bf4f191 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 04:50:07 +0000 Subject: Remove a bunch of dead code and fix spelling of a couple of comments. --- bsd-core/drm_context.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'bsd-core/drm_context.c') 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; -- cgit v1.2.3