platform/x86: intel_ips: remove redundant variables slope and offset
authorColin Ian King <colin.king@canonical.com>
Wed, 11 Jul 2018 08:09:10 +0000 (09:09 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 18 Jul 2018 10:29:11 +0000 (13:29 +0300)
commit309dca51c902d10267bbb120a8a2f3efc3491728
tree671ebddbc09636c48c1da027596c6e4a835fa33f
parente78fd3c3eead7cb71c4b3bbcefbaa26a9345c0ee
platform/x86: intel_ips: remove redundant variables slope and offset

Variables slope and offset are being assigned but are never used hence
they are redundant and can be removed.

Cleans up clang warnings:
warning: variable 'slope' set but not used [-Wunused-but-set-variable]
warning: variable 'offset' set but not used [-Wunused-but-set-variable]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/intel_ips.c