[PATCH 1/9] Staging: ipack/bridges/tpci200: remove gotos in tpci200_free_irq().

Dan Carpenter dan.carpenter at oracle.com
Thu Jun 7 08:39:01 UTC 2012


On Thu, Jun 07, 2012 at 10:24:50AM +0200, Miguel Gómez wrote:
> Handle error conditions with simple returns instead of usig gotos.
> 
> Signed-off-by: Miguel Gómez <magomez at igalia.com>

Nope.  It was still supposed to release the lock on success.

Keep the out_unlock label, and remove the out label.

regards,
dan carpenter




More information about the devel mailing list