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)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 9 Feb 2021 16:16:57 +0000 (17:16 +0100)
commitb9377df12114e61cb86d6470a43028b36f3e0eb6
tree38bf2f6ab9db43bd3c3a51032723126011f00b7b
parentbb0ea196390590accde0674ff1475c2b5a283628
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
(cherry picked from commit 09b20988ff29eecc422484c266bee61b2fe58d8c)
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/nouveau/nouveau_bios.c