summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-01-28 10:12:00 (GMT)
committerJonathan Cameron <jic23@kernel.org>2013-01-31 17:56:44 (GMT)
commit999517f6742b4ca4692c041752afc4298fbbf0da (patch)
tree0caadce783a8e9217d061560fac90c1062994a66 /ipc
parent872e79add7561645b130fba63aa7ca12098a9361 (diff)
downloadlinux-999517f6742b4ca4692c041752afc4298fbbf0da.tar.xz
staging:iio: Remove noop call to __iio_update_buffer
__iio_update_buffer updates the buffer's bytes_per_datum and length fields. But the only user of this function just passes in these exact fields, so the call basically looks like this: buffer->bytes_per_datum = buffer->bytes_per_datum; buffer->length = buffer->length; Which means it is a noop and can be removed. Also remove the function itself, since it is now unused. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions