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)
commit52ac30592dd6292701863ddbbfbf4c43d7cf706e
tree8ef58d4a5a38190654f297df21eef6949969c03e
parentae61cf5b9913027c6953a79ed3894da4f47061bd
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