Commit f2690074 authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915/selftests: Remove unused __engines_name()



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

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190901110431.12393-1-chris@chris-wilson.co.uk
parent 5a90606d
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -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;