From: Alan Hourihane Date: Tue, 22 Apr 2003 12:42:22 +0000 (+0000) Subject: remove unused variable X-Git-Tag: submit/1.0/20121108.012404~2369 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c5d16216d35d4b815471ff62de79f7fff2b2a2c;p=profile%2Fivi%2Flibdrm.git remove unused variable --- diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c index b446956..3853a7c 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 b446956..3853a7c 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;