Commit 9a27d37a authored by Tian Tao's avatar Tian Tao

drm/hisilicon: Delete unused local parameters

delete unused variable ‘priv’ to avoid warning.
Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Reviewed-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/1607339778-20460-3-git-send-email-tiantao6@hisilicon.com
parent 1c1b5bd4
...@@ -250,12 +250,9 @@ static int hibmc_hw_init(struct hibmc_drm_private *priv) ...@@ -250,12 +250,9 @@ static int hibmc_hw_init(struct hibmc_drm_private *priv)
static int hibmc_unload(struct drm_device *dev) static int hibmc_unload(struct drm_device *dev)
{ {
struct hibmc_drm_private *priv = to_hibmc_drm_private(dev);
drm_atomic_helper_shutdown(dev); drm_atomic_helper_shutdown(dev);
pci_disable_msi(dev->pdev); pci_disable_msi(dev->pdev);
dev->dev_private = NULL;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment