iio:imu:adis16400 remove an unneeded check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 30 Jan 2014 11:59:00 +0000 (11:59 +0000)
committerJonathan Cameron <jic23@kernel.org>
Mon, 3 Feb 2014 21:43:22 +0000 (21:43 +0000)
commit7638c2ed9c1df35ea74ea992df6ea380c9f842e3
tree5d7e92fc8583a38dd23dd6fc1ac8f23354a17fd5
parent97b6ee5253021d890eb9fdd95e0b64fd95494824
iio:imu:adis16400 remove an unneeded check

We know "ret" is zero here so there is no need to check.

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/imu/adis16400_core.c