drm/i915: Remove unused no-shrinker-steal
[cascardo/linux.git] / drivers / gpu / drm / i915 / i915_gem_shrinker.c
index 9b92b64..b80802b 100644 (file)
@@ -244,9 +244,6 @@ static bool i915_gem_shrinker_lock(struct drm_device *dev, bool *unlock)
                if (!mutex_is_locked_by(&dev->struct_mutex, current))
                        return false;
 
-               if (to_i915(dev)->mm.shrinker_no_lock_stealing)
-                       return false;
-
                *unlock = false;
        } else
                *unlock = true;