diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-24 04:50:07 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-24 04:50:07 +0000 |
commit | bcd527ee71043478d27ec3e5b611c9f34bf4f191 (patch) | |
tree | dfac3d3e3cac55ca7b5fbf9e3089725c491c10af /bsd-core/drm_context.c | |
parent | 00522cedd6ee3027d2858909d34e862fa21e6e28 (diff) |
Remove a bunch of dead code and fix spelling of a couple of comments.
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; |