ACPI: video: remove redundant assignments to variable result
authorColin Ian King <colin.king@canonical.com>
Sat, 29 Feb 2020 00:12:43 +0000 (00:12 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 4 Mar 2020 09:43:04 +0000 (10:43 +0100)
commit966f58df1753b436c9e16644c4c683a2395beb45
treecbefdbb281207b0321cbc20c05a172080cbbea65
parent98d54f81e36ba3bf92172791eba5ca5bd813989b
ACPI: video: remove redundant assignments to variable result

The variable 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>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_video.c