summaryrefslogtreecommitdiff
path: root/linux/drm_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_context.h')
-rw-r--r--linux/drm_context.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drm_context.h b/linux/drm_context.h
index 88b485ff..fab0885b 100644
--- a/linux/drm_context.h
+++ b/linux/drm_context.h
@@ -242,9 +242,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;
@@ -455,9 +452,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);