]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915: Remove set but not used variable 'src_y'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 19 Jul 2019 02:41:00 +0000 (02:41 +0000)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Jul 2019 12:33:16 +0000 (15:33 +0300)
commit0d392cb9eb58099496a4d2981047df7ff7d22949
treecbabf72fcf14e01d878d9d492b8bf5db9d8eeab8
parent7d6b60dbc6a015dbdc444e4d39549600f7156690
drm/i915: Remove set but not used variable 'src_y'

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

drivers/gpu/drm/i915/display/intel_sprite.c: In function 'g4x_sprite_check_scaling':
drivers/gpu/drm/i915/display/intel_sprite.c:1494:13: warning:
 variable 'src_y' set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190719024100.64738-1-yuehaibing@huawei.com
drivers/gpu/drm/i915/display/intel_sprite.c