summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-07-26 16:58:59 -0700
committerIan Romanick <idr@us.ibm.com>2007-07-26 16:58:59 -0700
commitb89cc0346500d9875d4acebc611db8f9ee3463f7 (patch)
treef016497710d9cb2513d255456b57e4b46f6be3e5
parentc561cb4650dc5895acfb3ae00c7ff455be31a860 (diff)
Eliminate unnecessary (and now wrong) call gto drm_sg_free.
-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;