]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv50: remove set but not unused variable 'nv_connector'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 17 Jan 2020 03:36:42 +0000 (11:36 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 22 Jan 2020 22:56:51 +0000 (08:56 +1000)
commitee902d763269ec40dae8189be70ab09e529737e7
tree02c9444244c54f20c0ceff875c47079e65a626bb
parent30310a3f0ad2f038883d34295c3c9f996b5b31be
drm/nouveau/kms/nv50: remove set but not unused variable 'nv_connector'

drivers/gpu/drm/nouveau/dispnv50/disp.c: In function nv50_pior_enable:
drivers/gpu/drm/nouveau/dispnv50/disp.c:1672:28: warning:
 variable nv_connector set but not used [-Wunused-but-set-variable]

commit ca94faa38d95 ("drm/nouveau/kms/nv50-: Store the
bpc we're using in nv50_head_atom") left behind this.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.c