Skip to content

Commit fee4964

Browse files
arndbdliviu
authored andcommitted
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>
1 parent 49a58f2 commit fee4964

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/arm/hdlcd_crtc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static void hdlcd_plane_atomic_update(struct drm_plane *plane,
261261
{
262262
struct drm_framebuffer *fb = plane->state->fb;
263263
struct hdlcd_drm_private *hdlcd;
264-
u32 src_x, src_y, dest_h;
264+
u32 dest_h;
265265
dma_addr_t scanout_start;
266266

267267
if (!fb)

0 commit comments

Comments
 (0)