]> 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)
commit987d1ef980a3cc3a29c3a8ee3df8d34dc2bda6b8
treec78996565e790eaf56fab55daec8cad93e0af075
parentee902d763269ec40dae8189be70ab09e529737e7
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