summaryrefslogtreecommitdiff
path: root/linux-core/drm_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-04-22 08:06:14 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-04-22 08:06:14 +0000
commitfc4fb6b51b50e37ff697e872b297b6460c3617af (patch)
tree739b00a33d36d431273ac6e1da133bad35e98629 /linux-core/drm_context.c
parent46e06192a88834a97257d2be5ab3aa7c325a1cfe (diff)
remove DRM read, poll and write_string
Diffstat (limited to 'linux-core/drm_context.c')
-rw-r--r--linux-core/drm_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index 88b485ff..fab0885b 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -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);