Eliminate unnecessary (and now wrong) call gto drm_sg_free.

This commit is contained in:
Ian Romanick 2007-07-26 16:58:59 -07:00
parent c561cb4650
commit b89cc03465

View file

@ -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;