]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/arm: hdlcd: remove unused variables
authorArnd Bergmann <arnd@arndb.de>
Tue, 20 Jun 2017 20:30:38 +0000 (22:30 +0200)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 21 Jun 2017 09:51:26 +0000 (10:51 +0100)
The last rework left behind two unused variables:

drm/arm/hdlcd_crtc.c: In function 'hdlcd_plane_atomic_update':
drm/arm/hdlcd_crtc.c:264:13: warning: unused variable 'src_y' [-Wunused-variable]
drm/arm/hdlcd_crtc.c:264:6: warning: unused variable 'src_x' [-Wunused-variable]

This removes them.

Fixes: b2ae06ae9834 ("drm/arm: hdlcd: Use CMA helper for plane buffer address calculation")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c

index 0128ebd318f5d46095847c0925446741584cbce2..d67b6f15e8b8a03f902d02861e51cb696eb1e9b5 100644 (file)
@@ -261,7 +261,7 @@ static void hdlcd_plane_atomic_update(struct drm_plane *plane,
 {
        struct drm_framebuffer *fb = plane->state->fb;
        struct hdlcd_drm_private *hdlcd;
-       u32 src_x, src_y, dest_h;
+       u32 dest_h;
        dma_addr_t scanout_start;
 
        if (!fb)