commit | 11cb454f092397b8cb1ba478efaa5743bea604a2 | [log] [tgz] |
---|---|---|
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | Mon Oct 07 13:42:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Oct 12 12:19:50 2013 +0100 |
tree | 94f50b4de9011d7390d16cd9ce2412eddb3db7d4 | |
parent | 84088ebd14aebf1b8499409a037094b9b88e2796 [diff] |
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: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>