mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 09:00:13 +01:00
Eliminate unnecessary (and now wrong) call gto drm_sg_free.
This commit is contained in:
parent
c561cb4650
commit
b89cc03465
1 changed files with 0 additions and 4 deletions
|
|
@ -121,10 +121,6 @@ static int xgi_pcie_lut_init(struct xgi_info * info)
|
|||
|
||||
void xgi_pcie_lut_cleanup(struct xgi_info * info)
|
||||
{
|
||||
if (info->dev->sg) {
|
||||
drm_sg_free(info->dev, info->dev->sg->handle);
|
||||
}
|
||||
|
||||
if (info->lut_handle) {
|
||||
drm_pci_free(info->dev, info->lut_handle);
|
||||
info->lut_handle = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue