diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-05-02 12:49:53 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-05-03 19:48:40 +0200 |
commit | b347e04452ff6382ace8fba9c81f5bcb63be17a6 (patch) | |
tree | 47bf253af8bc5a866ece5d0792ecf5e6c865c768 /include/drm | |
parent | 9a31b3813f91408bbd5e4059f6c6cc6713eef790 (diff) | |
download | linux-b347e04452ff6382ace8fba9c81f5bcb63be17a6.tar.bz2 |
drm: Remove pdev field from struct drm_device
The field pdev in struct drm_device is unused. Remove it. The
value can be obtained by upcasting from the structure's dev field.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210502104953.21768-8-tzimmermann@suse.de
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_device.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h index c5a195676e8f..e5d6305e64a2 100644 --- a/include/drm/drm_device.h +++ b/include/drm/drm_device.h @@ -321,9 +321,6 @@ struct drm_device { /* List of devices per driver for stealth attach cleanup */ struct list_head legacy_dev_list; - /* PCI device structure */ - struct pci_dev *pdev; - #ifdef __alpha__ /** @hose: PCI hose, only used on ALPHA platforms. */ struct pci_controller *hose; |