diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-12-19 06:54:07 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-22 16:35:28 -0500 |
commit | 50d82ad4be31a3fb2b5d7a3fb7c6948deab0d24e (patch) | |
tree | 53316a51c89f8f94bc35529c6e6808039dd7d017 /drivers | |
parent | 3bf5d65f4324510231cf33e5d75654f4fb1d1892 (diff) |
staging:iio: Remove unused variable
Fixes the following warning:
drivers/staging/iio/industrialio-buffer.c: In function ‘iio_scan_mask_query’:
drivers/staging/iio/industrialio-buffer.c:620: warning: unused variable ‘mask’
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/industrialio-buffer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/iio/industrialio-buffer.c b/drivers/staging/iio/industrialio-buffer.c index a03a574965b3..68db2d24c5e8 100644 --- a/drivers/staging/iio/industrialio-buffer.c +++ b/drivers/staging/iio/industrialio-buffer.c | |||
@@ -617,8 +617,6 @@ EXPORT_SYMBOL_GPL(iio_scan_mask_set); | |||
617 | int iio_scan_mask_query(struct iio_dev *indio_dev, | 617 | int iio_scan_mask_query(struct iio_dev *indio_dev, |
618 | struct iio_buffer *buffer, int bit) | 618 | struct iio_buffer *buffer, int bit) |
619 | { | 619 | { |
620 | long *mask; | ||
621 | |||
622 | if (bit > indio_dev->masklength) | 620 | if (bit > indio_dev->masklength) |
623 | return -EINVAL; | 621 | return -EINVAL; |
624 | 622 | ||