summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_context.c2
-rw-r--r--linux/drm_context.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c
index b446956c..3853a7c6 100644
--- a/linux-core/drm_context.c
+++ b/linux-core/drm_context.c
@@ -225,8 +225,6 @@ found:
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 -EBUSY;
diff --git a/linux/drm_context.h b/linux/drm_context.h
index b446956c..3853a7c6 100644
--- a/linux/drm_context.h
+++ b/linux/drm_context.h
@@ -225,8 +225,6 @@ found:
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 -EBUSY;