iio: accel: kxsd9: Remove redundant variable
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 24 Oct 2013 11:53:00 +0000 (12:53 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 24 Oct 2013 13:43:24 +0000 (14:43 +0100)
commitdcf5272cac4115bfd52afd30e9a8ba5fb9c8d449
treeb59825931c6e8f29dccba82bb1831ff3950ebef8
parent670c11033dc57c1cf5d9e0056e3c6734e6554d91
iio: accel: kxsd9: Remove redundant variable

Return directly thereby eliminating an intermediate variable.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/kxsd9.c