ACPI: APD: remove redundant assignment to pointer clk
authorColin Ian King <colin.king@canonical.com>
Tue, 2 Jul 2019 13:10:29 +0000 (14:10 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 3 Jul 2019 11:02:16 +0000 (13:02 +0200)
commitb244883ca89c88fc250ba440937a3f1b28b258ff
tree68d509d61cdf6000b8f94622398ddf41b4b25849
parent6fbc7275c7a9ba97877050335f290341a1fd8dbf
ACPI: APD: remove redundant assignment to pointer clk

The pointer clk 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_apd.c