]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv04: remove set but not used variable 'width'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 17 Jan 2020 02:01:02 +0000 (10:01 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 22 Jan 2020 22:56:51 +0000 (08:56 +1000)
commit8a9b3b7c2b62b497c64027f0742735e7941e138b
treec78996565e790eaf56fab55daec8cad93e0af075
parent97689749482b09763fd21c5618a6c70dd59910fc
drm/nouveau/kms/nv04: remove set but not used variable 'width'

drivers/gpu/drm/nouveau/dispnv04/arb.c: In function nv04_calc_arb:
drivers/gpu/drm/nouveau/dispnv04/arb.c:56:21: warning:
 variable width set but not used [-Wunused-but-set-variable]

'width' is never used, so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv04/arb.c