staging: iio: accel: Remove unnecessary else after goto in if block
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Thu, 18 Feb 2016 21:22:29 +0000 (16:22 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:45:05 +0000 (14:45 -0800)
commit911568be451781b2ddcc0712ade25bdb20daddb8
tree8ca1e911f0069bd32bf436e23ff54758749bf1cd
parent0fd736f9f4d2aea8dd63bd3e622da8a955e11c82
staging: iio: accel: Remove unnecessary else after goto in if block

This patch removes the unnecessary else following an if block with a
goto statement.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/accel/sca3000_core.c
drivers/staging/iio/accel/sca3000_ring.c