]> git.baikalelectronics.ru Git - kernel.git/commit
misc: bh1770glc: remove unused array prox_curr_ma
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Aug 2018 13:20:32 +0000 (14:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2018 07:46:46 +0000 (09:46 +0200)
commit69ea0d56d940c120d611796ea702cbd463141e82
tree1402bd73194a1a2b646ea44c09f1c4066fd83006
parent0c289fd7ca85188681d4b35d91d5331a2a0e6348
misc: bh1770glc: remove unused array prox_curr_ma

Array prox_curr_ma is declared but never used, hence it is redundant
and can be removed.

Cleans up clang warning:
warning: 'prox_curr_ma' defined but not used [-Wunused-const-variable=]

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bh1770glc.c