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>
This commit is contained in:
Lars-Peter Clausen 2013-10-07 14:26:00 +01:00 committed by Jonathan Cameron
parent 3909fab5a8
commit d406fd9d9a

View File

@ -146,7 +146,6 @@ static int spear_read_raw(struct iio_dev *indio_dev,
long mask) long mask)
{ {
struct spear_adc_info *info = iio_priv(indio_dev); struct spear_adc_info *info = iio_priv(indio_dev);
u32 scale_mv;
u32 status; u32 status;
switch (mask) { switch (mask) {