summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/xgi_pcie.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/linux-core/xgi_pcie.c b/linux-core/xgi_pcie.c
index 537e82f5..dc5a50b8 100644
--- a/linux-core/xgi_pcie.c
+++ b/linux-core/xgi_pcie.c
@@ -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;