remove the unused label error_ret in ad5791.c.

Signed-off-by: Wanlong Gao <[email protected]>
---
 drivers/staging/iio/dac/ad5791.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/iio/dac/ad5791.c b/drivers/staging/iio/dac/ad5791.c
index 64770d2..5b00b70 100644
--- a/drivers/staging/iio/dac/ad5791.c
+++ b/drivers/staging/iio/dac/ad5791.c
@@ -381,7 +381,6 @@ error_put_reg_pos:
        if (!IS_ERR(reg_vdd))
                regulator_put(reg_vdd);
 
-error_ret:
        return ret;
 }
 
-- 
1.7.6

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to