[Devel] [PATCH RHEL7 COMMIT] ms/drm/i915: remove unused forward declarations

Konstantin Khorenko khorenko at virtuozzo.com
Fri Dec 25 01:10:56 PST 2015


The commit is pushed to "branch-rh7-3.10.0-327.3.1-vz7.10.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.3.1.el7
------>
commit bad77ffd74b439b39008619df17d6e973550fe3e
Author: Vladimir Davydov <vdavydov at virtuozzo.com>
Date:   Fri Dec 25 13:10:55 2015 +0400

    ms/drm/i915: remove unused forward declarations
    
    They were brought by 42cf44b4bcd5 ("ms/drivers: convert shrinkers to new
    count/scan API"). The recent rebase (to 3.10.0-327.3.1.el7) 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 6e0d1b8..596bce5 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)
 {


More information about the Devel mailing list