diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-10-07 17:26:00 +0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-10-12 16:23:55 +0400 |
commit | d406fd9d9a90534412d4f7fb4077928e63b77247 (patch) | |
tree | c9060c8d6a427eb72c2f76f5548cf4b3b4a8be15 /drivers/staging/iio/adc | |
parent | 3909fab5a8afdf8f0c9191e3a2660230ef0ef724 (diff) | |
download | linux-d406fd9d9a90534412d4f7fb4077928e63b77247.tar.xz |
staging:iio:spear_adc: Remove unused variable
Remove the scale_mv variable from the read_raw() callback. Fixes the following
warning:
drivers/staging/iio/adc/spear_adc.c: In function 'spear_read_raw':
drivers/staging/iio/adc/spear_adc.c:149:6: warning: unused variable 'scale_mv'
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/adc')
-rw-r--r-- | drivers/staging/iio/adc/spear_adc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/spear_adc.c b/drivers/staging/iio/adc/spear_adc.c index 657e01bd733c..fc99598b532a 100644 --- a/drivers/staging/iio/adc/spear_adc.c +++ b/drivers/staging/iio/adc/spear_adc.c @@ -146,7 +146,6 @@ static int spear_read_raw(struct iio_dev *indio_dev, long mask) { struct spear_adc_info *info = iio_priv(indio_dev); - u32 scale_mv; u32 status; switch (mask) { |