projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bf5d65
)
staging:iio: Remove unused variable
author
Lars-Peter Clausen
<lars@metafoo.de>
Mon, 19 Dec 2011 11:54:07 +0000
(12:54 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 22 Dec 2011 21:35:28 +0000
(13:35 -0800)
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>
drivers/staging/iio/industrialio-buffer.c
patch
|
blob
|
history
diff --git
a/drivers/staging/iio/industrialio-buffer.c
b/drivers/staging/iio/industrialio-buffer.c
index
a03a574
..
68db2d2
100644
(file)
--- 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;