summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-05-29 14:47:59 +0200
committerDave Airlie <airlied@redhat.com>2012-05-29 14:47:59 +0200
commit1c780f2cfec8b533b9cfda77209b4e3e7adaddbf (patch)
tree295ab885dcd8a1ffcff028fcfec4e8da79669a2b /drivers/gpu/drm/udl
parentMerge branch 'drm-intel-fixes' of git://people.freedesktop.org/~danvet/drm-in... (diff)
downloadlinux-1c780f2cfec8b533b9cfda77209b4e3e7adaddbf.tar.xz
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/gpu/drm/udl')
-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;