From a41594e8dfa029cfba9c518d6c21551f5e0857bc Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 24 Apr 2003 09:41:33 +0000 Subject: Remove #if 0'd code and some unused string functions --- linux/gamma_context.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'linux/gamma_context.h') diff --git a/linux/gamma_context.h b/linux/gamma_context.h index 9e4b913f..2338cb38 100644 --- a/linux/gamma_context.h +++ b/linux/gamma_context.h @@ -143,16 +143,11 @@ int DRM(context_switch)(drm_device_t *dev, int old, int new) char buf[64]; drm_queue_t *q; -#if 0 - atomic_inc(&dev->total_ctx); -#endif - if (test_and_set_bit(0, &dev->context_flag)) { DRM_ERROR("Reentering -- FIXME\n"); return -EBUSY; } - DRM_DEBUG("Context switch from %d to %d\n", old, new); if (new >= dev->queue_count) { -- cgit v1.2.3