]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Remove unused branch in legacy PCI initialization
authorThomas Zimmermann <tzimmermann@suse.de>
Sun, 16 May 2021 19:19:18 +0000 (21:19 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 17 May 2021 19:19:26 +0000 (21:19 +0200)
commit99e782aea12fbce6dde65236ce5b544b2f561746
tree27f2b358e974bfdecf140701d26547d3e64bd213
parentd500b52cf4b6be3a6915f4466ee191475e4527c1
drm: Remove unused branch in legacy PCI initialization

The legacy PCI init code sets the drvdata for drivers with MODESET
flag, but none of the old UMS drivers sets the flag. Remove the branch.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210516191918.20974-1-tzimmermann@suse.de
drivers/gpu/drm/drm_pci.c