diff options
Diffstat (limited to 'bsd/drm_context.h')
-rw-r--r-- | bsd/drm_context.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bsd/drm_context.h b/bsd/drm_context.h index c3a20f6e..5ceb23f2 100644 --- a/bsd/drm_context.h +++ b/bsd/drm_context.h @@ -206,8 +206,6 @@ bad: int DRM(context_switch)( drm_device_t *dev, int old, int new ) { - char buf[64]; - if ( test_and_set_bit( 0, &dev->context_flag ) ) { DRM_ERROR( "Reentering -- FIXME\n" ); return DRM_ERR(EBUSY); @@ -226,9 +224,6 @@ int DRM(context_switch)( drm_device_t *dev, int old, int new ) if ( DRM(flags) & DRM_FLAG_NOCTX ) { DRM(context_switch_complete)( dev, new ); - } else { - sprintf( buf, "C %d %d\n", old, new ); - DRM(write_string)( dev, buf ); } return 0; @@ -374,7 +369,6 @@ int DRM(rmctx)( DRM_IOCTL_ARGS ) int DRM(context_switch)(drm_device_t *dev, int old, int new) { - char buf[64]; drm_queue_t *q; #if 0 @@ -412,9 +406,6 @@ int DRM(context_switch)(drm_device_t *dev, int old, int new) if (DRM(flags) & DRM_FLAG_NOCTX) { DRM(context_switch_complete)(dev, new); - } else { - sprintf(buf, "C %d %d\n", old, new); - DRM(write_string)(dev, buf); } atomic_dec(&q->use_count); |