drm/stm: ltdc: remove set but not used variable 'src_h'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 28 Sep 2018 10:39:40 +0000 (10:39 +0000)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Mon, 21 Jan 2019 09:01:07 +0000 (10:01 +0100)
commita236a6698c4c080873ea368839e7735efa4c0fa7
tree0602b51b680c86d8209f215a6e1ed0fc2bed819b
parent518ea1dc75d69b4562ddbf18bc264387db357d04
drm/stm: ltdc: remove set but not used variable 'src_h'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/stm/ltdc.c: In function 'ltdc_plane_atomic_check':
drivers/gpu/drm/stm/ltdc.c:694:13: warning:
 variable 'src_y' set but not used [-Wunused-but-set-variable]
  u32 src_x, src_y, src_w, src_h;
             ^
             ^
drivers/gpu/drm/stm/ltdc.c:694:6: warning:
 variable 'src_x' set but not used [-Wunused-but-set-variable]
  u32 src_x, src_y, src_w, src_h;
      ^

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1538131180-34108-1-git-send-email-yuehaibing@huawei.com
drivers/gpu/drm/stm/ltdc.c