projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'virt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
iio
/
kfifo_buf.c
diff --git
a/drivers/iio/kfifo_buf.c
b/drivers/iio/kfifo_buf.c
index
5bc5c86
..
a923c78
100644
(file)
--- a/
drivers/iio/kfifo_buf.c
+++ b/
drivers/iio/kfifo_buf.c
@@
-22,7
+22,6
@@
static inline int __iio_allocate_kfifo(struct iio_kfifo *buf,
if ((length == 0) || (bytes_per_datum == 0))
return -EINVAL;
- __iio_update_buffer(&buf->buffer, bytes_per_datum, length);
return __kfifo_alloc((struct __kfifo *)&buf->kf, length,
bytes_per_datum, GFP_KERNEL);
}