drm/ttm: remove declaration of ttm_tt_cache_flush
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 17 Jun 2014 06:39:18 +0000 (15:39 +0900)
committerDavid Herrmann <dh.herrmann@gmail.com>
Mon, 7 Jul 2014 22:29:57 +0000 (00:29 +0200)
ttm_tt_cache_flush's implementation was removed in 2009 by commit
c9c97b8c, but its declaration has been hiding in ttm_bo_driver.h since
then.

It has been surviving in the dark for too long now ; give it the mercy
blow.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
include/drm/ttm/ttm_bo_driver.h

index a5183da3ef924d0219a0571d55e6b14784ab54c9..e3f8c99a8a9d2490bbcc0b0a0263e888aab2e1b1 100644 (file)
@@ -652,18 +652,6 @@ extern void ttm_tt_unbind(struct ttm_tt *ttm);
  */
 extern int ttm_tt_swapin(struct ttm_tt *ttm);
 
-/**
- * ttm_tt_cache_flush:
- *
- * @pages: An array of pointers to struct page:s to flush.
- * @num_pages: Number of pages to flush.
- *
- * Flush the data of the indicated pages from the cpu caches.
- * This is used when changing caching attributes of the pages from
- * cache-coherent.
- */
-extern void ttm_tt_cache_flush(struct page *pages[], unsigned long num_pages);
-
 /**
  * ttm_tt_set_placement_caching:
  *