diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-06-20 22:30:38 +0200 |
---|---|---|
committer | Liviu Dudau <Liviu.Dudau@arm.com> | 2017-06-21 10:51:26 +0100 |
commit | fee4964f0a6cd2ce6368d2c69e9ec8e6f44fb0ec (patch) | |
tree | 2ae0e3611ed43c0297a309191b682b3bd8daaaa3 /drivers/gpu/drm/arm/hdlcd_crtc.c | |
parent | 49a58f26af7b5ee28ea8788fcd2bb7b590c711c5 (diff) | |
download | blackbird-op-linux-fee4964f0a6cd2ce6368d2c69e9ec8e6f44fb0ec.tar.gz blackbird-op-linux-fee4964f0a6cd2ce6368d2c69e9ec8e6f44fb0ec.zip |
drm/arm: hdlcd: remove unused variables
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>
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_crtc.c')
-rw-r--r-- | drivers/gpu/drm/arm/hdlcd_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/arm/hdlcd_crtc.c b/drivers/gpu/drm/arm/hdlcd_crtc.c index 0128ebd318f5..d67b6f15e8b8 100644 --- a/drivers/gpu/drm/arm/hdlcd_crtc.c +++ b/drivers/gpu/drm/arm/hdlcd_crtc.c @@ -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) |