thermal/drivers/mtk_thermal: Remove redundant initializations of several variables
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Apr 2021 12:04:12 +0000 (13:04 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 22 Apr 2021 21:51:32 +0000 (23:51 +0200)
commitc310e546164d5cca4c12faf9582b75989b030b68
tree2e5246175971516d8de997ff823cd747e478c544
parentab39c8853737158604e154ad3b03639e74082bd6
thermal/drivers/mtk_thermal: Remove redundant initializations of several variables

Several variables are being initialized with values that is never
read and being updated later with a new value. The initializations
are redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210422120412.246291-1-colin.king@canonical.com
drivers/thermal/mtk_thermal.c