From: Dave Airlie Date: Tue, 29 May 2012 12:47:59 +0000 (+0100) Subject: drm/udl: remove unused variables. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1c780f2cfec8b533b9cfda77209b4e3e7adaddbf;p=linux-beck.git drm/udl: remove unused variables. These two variables were not required after new API was introduced. Signed-off-by: Dave Airlie --- 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;