drm/nouveau: remove set but not used variable ‘pdev’ in nouveau_bios_init
authorYe Bin <yebin10@huawei.com>
Sat, 23 Jan 2021 01:30:14 +0000 (09:30 +0800)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 3 Feb 2021 08:19:19 +0000 (09:19 +0100)
commit09b20988ff29eecc422484c266bee61b2fe58d8c
tree854b8cfa3ca1a0a9b42aef4657b6d7da573f5b1b
parent75ec69c79ebcae0ad16baf2249e378f5b02bdc12
drm/nouveau: remove set but not used variable ‘pdev’ in nouveau_bios_init

Fix follow warning:
drivers/gpu/drm/nouveau/nouveau_bios.c:2086:18: warning: variable ‘pdev’ set but not used [-Wunused-but-set-variable]
  struct pci_dev *pdev;
                  ^~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210123013014.3815870-1-yebin10@huawei.com
drivers/gpu/drm/nouveau/nouveau_bios.c