drm/i915/perf: remove redundant variable 'taken'
authorColin Ian King <colin.i.king@gmail.com>
Fri, 7 Oct 2022 19:53:45 +0000 (20:53 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 10 Oct 2022 08:15:03 +0000 (09:15 +0100)
commitf1d8e2bf877d3d322aa7149c43bbc99466014eed
treea8d5ab44efe4d43b853ccba133f5feac999b89c7
parent178ce94a15c970b66663e097d694bae6679e9a69
drm/i915/perf: remove redundant variable 'taken'

The assignment to variable taken is redundant and so it can be
removed as well as the variable too.

Cleans up clang-scan build warnings:
warning: Although the value stored to 'taken' is used in the enclosing
expression, the value is never actually read from 'taken'
[deadcode.DeadStores]

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221007195345.2749911-1-colin.i.king@gmail.com
drivers/gpu/drm/i915/i915_perf.c