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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
Acked-by: Jonathan Cameron <jic23@xxxxxxxxx>

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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux