[Devel] [PATCH rh7] drm/i915: remove unused forward declarations

Vladimir Davydov vdavydov at virtuozzo.com
Mon Dec 21 07:31:06 PST 2015


They were brought by 42cf44b4bcd5 ("ms/drivers: convert shrinkers to new
count/scan API"). The recent rebase made them redundant.

Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
---
 drivers/gpu/drm/i915/i915_gem.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 6e0d1b8dc720..596bce56e379 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -52,10 +52,6 @@ static void i915_gem_object_update_fence(struct drm_i915_gem_object *obj,
 					 struct drm_i915_fence_reg *fence,
 					 bool enable);
 
-static unsigned long i915_gem_inactive_count(struct shrinker *shrinker,
-					     struct shrink_control *sc);
-static unsigned long i915_gem_inactive_scan(struct shrinker *shrinker,
-					    struct shrink_control *sc);
 static bool cpu_cache_is_coherent(struct drm_device *dev,
 				  enum i915_cache_level level)
 {
-- 
2.1.4



More information about the Devel mailing list