mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 04:18:08 +02:00
Fix ref count problem in stealth mode. pci_get_subsys() with last parameter
set does the pci_dev_put for you.
This commit is contained in:
parent
244b3e6c7c
commit
a070d15b53
2 changed files with 0 additions and 2 deletions
|
|
@ -627,7 +627,6 @@ static int __init drm_init( void )
|
|||
}
|
||||
/* no fbdev or vesadev, put things back and wait for normal probe */
|
||||
pci_release_regions(pdev);
|
||||
pci_dev_put(pdev);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -627,7 +627,6 @@ static int __init drm_init( void )
|
|||
}
|
||||
/* no fbdev or vesadev, put things back and wait for normal probe */
|
||||
pci_release_regions(pdev);
|
||||
pci_dev_put(pdev);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue