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:
parent
5a90606df7
commit
f269007446
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue