[PATCH] drivers:staging:remove the unused label error_ret

Jonathan Cameron jic23 at cam.ac.uk
Wed Aug 3 09:24:05 UTC 2011


On 08/03/11 10:10, Wanlong Gao wrote:
> remove the unused label error_ret in ad5791.c.
Got that one in my tree as well. For reference, the current state of
iio tree (including all sorts of fun unreviewed code
and liable to be rebased several times a day is)
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio-blue.git

Again, I haven't posted that series yet hence:
> 
> Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com>
Acked-by: Jonathan Cameron <jic23 at cam.ac.uk>

> ---
>  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;
>  }
>  




More information about the devel mailing list