]> git.baikalelectronics.ru Git - kernel.git/commit
misc: apds990x: remove unused array ir_currents
authorColin Ian King <colin.king@canonical.com>
Tue, 7 Aug 2018 11:09:23 +0000 (12:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2018 07:46:46 +0000 (09:46 +0200)
commit0c289fd7ca85188681d4b35d91d5331a2a0e6348
tree8ef58d4a5a38190654f297df21eef6949969c03e
parent66cdfa41d351aca1f4ad7f24ea130a2ad208da02
misc: apds990x: remove unused array ir_currents

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

Cleans up clang warning:
warning: 'ir_currents' 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/apds990x.c