diff options
| author | Karol Wrona <k.wrona@samsung.com> | 2014-12-19 12:39:24 -0500 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-26 06:20:38 -0500 |
| commit | 7ab374a053a43050117eb452306b6cd9dcb58cfd (patch) | |
| tree | 1605369c59a8e0d07a788f17c93ae02cbcd46e2c /include/linux/iio | |
| parent | 614e8842ddf5502f0e781f91695bfbc1e1e1d9b6 (diff) | |
iio: kfifo: Remove unused argument in iio_kfifo_allocate
indio_dev was unused in function body plus some small style fix - add new
lines after "if(sth) return sth" and before the last return statement.
The argument was removed also in its client.
Signed-off-by: Karol Wrona <k.wrona@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
| -rw-r--r-- | include/linux/iio/kfifo_buf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h index 25eeac762e84..1a8d57a41738 100644 --- a/include/linux/iio/kfifo_buf.h +++ b/include/linux/iio/kfifo_buf.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | #include <linux/iio/iio.h> | 5 | #include <linux/iio/iio.h> |
| 6 | #include <linux/iio/buffer.h> | 6 | #include <linux/iio/buffer.h> |
| 7 | 7 | ||
| 8 | struct iio_buffer *iio_kfifo_allocate(struct iio_dev *indio_dev); | 8 | struct iio_buffer *iio_kfifo_allocate(void); |
| 9 | void iio_kfifo_free(struct iio_buffer *r); | 9 | void iio_kfifo_free(struct iio_buffer *r); |
| 10 | 10 | ||
| 11 | #endif | 11 | #endif |
