iio: dac: ad7303: remove an unneeded check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 Jan 2014 11:58:00 +0000 (11:58 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 3 Feb 2014 21:44:42 +0000 (21:44 +0000)
commita04cf55a527896058ea53c3840fa1f075df35720
treefa351037440d1219edc8241e256d843c9092afb0
parent7638c2ed9c1df35ea74ea992df6ea380c9f842e3
iio: dac: ad7303: remove an unneeded check

"ret" is zero here.  There is no need to check again.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad7303.c