diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-12-19 11:54:07 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-22 21:35:28 (GMT) |
commit | 50d82ad4be31a3fb2b5d7a3fb7c6948deab0d24e (patch) | |
tree | 53316a51c89f8f94bc35529c6e6808039dd7d017 /drivers/staging/iio | |
parent | 3bf5d65f4324510231cf33e5d75654f4fb1d1892 (diff) | |
download | linux-50d82ad4be31a3fb2b5d7a3fb7c6948deab0d24e.tar.xz |
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/staging/iio')
-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 a03a574..68db2d2 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); int iio_scan_mask_query(struct iio_dev *indio_dev, struct iio_buffer *buffer, int bit) { - long *mask; - if (bit > indio_dev->masklength) return -EINVAL; |