aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorQuentin Lambert <lambert.quentin@gmail.com>2015-03-11 15:22:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-12 11:13:41 +0100
commitc84a083b995b0bde61640b6576f9c80584915b7a (patch)
tree714df51147159edfeb2d064a4292dbd32aaaa12b /include/linux
parentStaging: dgnc: Use goto for error handling (diff)
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 <lambert.quentin@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions