summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-29 13:47:59 +0100
committerDave Airlie <airlied@redhat.com>2012-05-29 13:47:59 +0100
commit1c780f2cfec8b533b9cfda77209b4e3e7adaddbf (patch)
tree295ab885dcd8a1ffcff028fcfec4e8da79669a2b /drivers
parenta21f976094819d2862f8fdbd39ab5b22e7d27a1a (diff)
downloadlinux-1c780f2cfec8b533b9cfda77209b4e3e7adaddbf.tar.gz
linux-1c780f2cfec8b533b9cfda77209b4e3e7adaddbf.tar.bz2
linux-1c780f2cfec8b533b9cfda77209b4e3e7adaddbf.zip
drm/udl: remove unused variables.
These two variables were not required after new API was introduced. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/udl/udl_gem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/udl/udl_gem.c b/drivers/gpu/drm/udl/udl_gem.c
index d9609e2a4d8a..97acc9c6c95b 100644
--- a/drivers/gpu/drm/udl/udl_gem.c
+++ b/drivers/gpu/drm/udl/udl_gem.c
@@ -257,8 +257,6 @@ static int udl_prime_create(struct drm_device *dev,
{
struct udl_gem_object *obj;
int npages;
- int i;
- struct scatterlist *iter;
npages = size / PAGE_SIZE;