drm/i915/selftests: Remove unused __engines_name()

This function was never used and probably will never be used, so remove
it.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190901110431.12393-1-chris@chris-wilson.co.uk
This commit is contained in:
Chris Wilson 2019-09-01 12:04:31 +01:00
parent 5a90606df7
commit f269007446
1 changed files with 0 additions and 15 deletions

View File

@ -1546,21 +1546,6 @@ out_unlock:
return err;
}
static __maybe_unused const char *
__engine_name(struct drm_i915_private *i915, intel_engine_mask_t engines)
{
struct intel_engine_cs *engine;
intel_engine_mask_t tmp;
if (engines == ALL_ENGINES)
return "all";
for_each_engine_masked(engine, i915, engines, tmp)
return engine->name;
return "none";
}
static bool skip_unused_engines(struct intel_context *ce, void *data)
{
return !ce->state;