From: Quentin Lambert Date: Wed, 11 Mar 2015 14:22:01 +0000 (+0100) Subject: Staging: dgnc: Use goto for spinlock release before return X-Git-Tag: omap-for-v4.2/o2_dc~155^2~138^2~471 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c84a083b995b;p=pandora-kernel.git Staging: dgnc: Use goto for spinlock release before return spin_unlock_irqrestore() is called at several different places before exiting. This patch uses a goto statement to factorize these calls. Coccinelle was used to generate this patch. Signed-off-by: Quentin Lambert Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed