Re: [PATCHv3 17/17] i2c: omap: get rid of the "complete" label

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

 



Hi,

On Fri, Jun 29, 2012 at 03:43:37PM +0530, Shubhrajyoti D wrote:
> @@ -962,7 +972,7 @@ complete:
>  			ret = omap_i2c_transmit_data(dev, num_bytes, true);
>  			stat = omap_i2c_read_reg(dev, OMAP_I2C_STAT_REG);

this isn't needed anymore. please remove.

>  			if (ret < 0)
> -				goto complete;
> +				goto out;
>  
>  			omap_i2c_ack_stat(dev, OMAP_I2C_STAT_XDR);
>  			continue;
> @@ -978,7 +988,7 @@ complete:
>  			ret = omap_i2c_transmit_data(dev, num_bytes, false);
>  			stat = omap_i2c_read_reg(dev, OMAP_I2C_STAT_REG);

this isn't needed anymore. please remove.

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux