iio: ad5624r_spi: Remove redundant variable
authorSachin Kamat <sachin.kamat@samsung.com>
Fri, 7 Mar 2014 07:38:00 +0000 (07:38 +0000)
committerJonathan Cameron <jic23@kernel.org>
Thu, 3 Jul 2014 20:56:35 +0000 (21:56 +0100)
commit15255c6b4de66b8d282d0b62398d90ff7b24f4a5
tree82cf01099a757ec788d167218df60cdb61bf16ce
parenta9fbbbd7d2668232babc60ef77539dd82a33a89c
iio: ad5624r_spi: Remove redundant variable

By re-arranging the code, 'ret' can be removed from this
function.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad5624r_spi.c