From 9c5d16216d35d4b815471ff62de79f7fff2b2a2c Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 22 Apr 2003 12:42:22 +0000 Subject: [PATCH] remove unused variable --- linux-core/drm_context.c | 2 -- linux/drm_context.h | 2 -- 2 files changed, 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;