]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: tsl2583: remove unnecessary variable initialization
authorBrian Masney <masneyb@onstation.org>
Sat, 12 Nov 2016 18:19:39 +0000 (13:19 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sun, 13 Nov 2016 13:07:32 +0000 (13:07 +0000)
commit55f7a2940bb3acf231637f029d6d8c7ec4a196d6
treefa2c7d2d3fca0c515f5fe5f71d617f9feee6a5d0
parent5ef4637987f4e9712c909d09a0e1de82b6f71352
staging: iio: tsl2583: remove unnecessary variable initialization

The ret variable in tsl2583_suspend() and tsl2583_resume() was
initialized to 0. This is not necessary so this patch removes the
initialization.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2583.c