]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: remove redundant assignment to variable test_result
authorColin Ian King <colin.king@canonical.com>
Fri, 17 Apr 2020 16:08:29 +0000 (17:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Apr 2020 06:47:22 +0000 (07:47 +0100)
commit94b4db69d30b9150cf17437cd5cea366abb3a276
tree86a9f06a2c5e43fdeec1b6a9b4df21ff274874a9
parent8b572b4cbc5a40178965f70b0c39886cd78c92ef
drm/i915: remove redundant assignment to variable test_result

The variable test_result is being initialized with a value that is
never read and it is being updated later with a new value.  The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417160829.112776-1-colin.king@canonical.com
drivers/gpu/drm/i915/display/intel_dp.c