]> 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)
commit6d06b9b15482ee1441d00c020dff86f051c3ad87
treefa2c7d2d3fca0c515f5fe5f71d617f9feee6a5d0
parent665627c26ba8a2d48ccbacb71bbc30951065da50
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