From 94c6d951a21f2d3b42cda0acb1b5dfc954c1c66b Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 3 May 2001 14:51:01 +0000 Subject: Make SiS driver compile with the new templated format. Not tested. minor cleanups --- linux/gamma_dma.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'linux/gamma_dma.c') diff --git a/linux/gamma_dma.c b/linux/gamma_dma.c index d3a9414d..7510e2b5 100644 --- a/linux/gamma_dma.c +++ b/linux/gamma_dma.c @@ -547,10 +547,6 @@ int gamma_dma(struct inode *inode, struct file *filp, unsigned int cmd, int retcode = 0; drm_dma_t d; -#if 0 - LOCK_TEST_WITH_RETURN( dev ); -#endif - if (copy_from_user(&d, (drm_dma_t *)arg, sizeof(d))) return -EFAULT; -- cgit v1.2.3