summaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/r128_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/drm/r128_context.c')
-rw-r--r--drivers/char/drm/r128_context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/char/drm/r128_context.c b/drivers/char/drm/r128_context.c
index f11453ba1..2dd716d4b 100644
--- a/drivers/char/drm/r128_context.c
+++ b/drivers/char/drm/r128_context.c
@@ -28,8 +28,6 @@
*
*/
-#include <linux/sched.h>
-
#define __NO_VERSION__
#include "drmP.h"
#include "r128_drv.h"
@@ -38,10 +36,6 @@ extern drm_ctx_t r128_res_ctx;
static int r128_alloc_queue(drm_device_t *dev)
{
-#if 0
- static int context = 0;
-#endif
-
return drm_ctxbitmap_next(dev);
}