summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_gem.c
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/gpu/drm/udl/udl_gem.c
parenta21f976094819d2862f8fdbd39ab5b22e7d27a1a (diff)
downloadop-kernel-dev-1c780f2cfec8b533b9cfda77209b4e3e7adaddbf.zip
op-kernel-dev-1c780f2cfec8b533b9cfda77209b4e3e7adaddbf.tar.gz
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/udl_gem.c')
-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 d9609e2..97acc9c 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;
OpenPOWER on IntegriCloud