agp: kill agp_rebind_memory
[linux-drm-fsl-dcu.git] / drivers / char / agp / generic.c
index 78bc8de0f234afdc1e0444d0eef453b1fe6b9a79..012cba0d6d965219de4d286a855285eeab05ec23 100644 (file)
@@ -480,26 +480,6 @@ int agp_unbind_memory(struct agp_memory *curr)
 }
 EXPORT_SYMBOL(agp_unbind_memory);
 
-/**
- *     agp_rebind_emmory  -  Rewrite the entire GATT, useful on resume
- */
-int agp_rebind_memory(void)
-{
-       struct agp_memory *curr;
-       int ret_val = 0;
-
-       spin_lock(&agp_bridge->mapped_lock);
-       list_for_each_entry(curr, &agp_bridge->mapped_list, mapped_list) {
-               ret_val = curr->bridge->driver->insert_memory(curr,
-                                                             curr->pg_start,
-                                                             curr->type);
-               if (ret_val != 0)
-                       break;
-       }
-       spin_unlock(&agp_bridge->mapped_lock);
-       return ret_val;
-}
-EXPORT_SYMBOL(agp_rebind_memory);
 
 /* End - Routines for handling swapping of agp_memory into the GATT */