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.
Unified · Split
| @@ -261,7 +261,7 @@ static void hdlcd_plane_atomic_update(struct drm_plane *plane, · 260 unmodified lines | |||
| 261 | { | 261 | { |
| 262 | struct drm_framebuffer *fb = plane->state->fb; | 262 | struct drm_framebuffer *fb = plane->state->fb; |
| 263 | struct hdlcd_drm_private *hdlcd; | 263 | struct hdlcd_drm_private *hdlcd; |
| 264 | u32 src_x, src_y, dest_h; | 264 | u32 dest_h; |
| 265 | dma_addr_t scanout_start; | 265 | dma_addr_t scanout_start; |
| 266 | 266 | ||
| 267 | if (!fb) | 267 | if (!fb) |