Commit 11cb454f authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Jonathan Cameron
Browse files

staging: iio: generic_buffer: initialize ret



The `ret´ variable is only initialized in the error case. For some reason
it was always != 0 while I played with generic_buffer so here is a patch.

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 84088ebd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment