diff options
author | Cristina Moraru <cristina.moraru09@gmail.com> | 2015-10-25 22:49:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-27 14:49:09 +0900 |
commit | 1c58f0eb9cd48c8b3426df1b073da796623c2b45 (patch) | |
tree | 4e8b6ed900afd402bbf9f127be53c85977d42271 /drivers/staging/iio/light | |
parent | df2f4c4e4b79d7128431bbc89172d4eacd64d6b2 (diff) | |
download | linux-stable-1c58f0eb9cd48c8b3426df1b073da796623c2b45.tar.gz linux-stable-1c58f0eb9cd48c8b3426df1b073da796623c2b45.tar.bz2 linux-stable-1c58f0eb9cd48c8b3426df1b073da796623c2b45.zip |
staging: iio: Remove unused variable
Remove variable that is initialized but not used.
Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/light')
-rw-r--r-- | drivers/staging/iio/light/isl29018.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/iio/light/isl29018.c b/drivers/staging/iio/light/isl29018.c index 73109dd40114..bbf7e35cbc7d 100644 --- a/drivers/staging/iio/light/isl29018.c +++ b/drivers/staging/iio/light/isl29018.c @@ -117,12 +117,10 @@ static int isl29018_set_integration_time(struct isl29018_chip *chip, { int i, ret; unsigned int int_time, new_int_time; - struct isl29018_scale new_scale; for (i = 0; i < ARRAY_SIZE(isl29018_int_utimes[chip->type]); ++i) { if (utime == isl29018_int_utimes[chip->type][i]) { new_int_time = i; - new_scale = isl29018_scales[new_int_time][0]; break; } } |