]> Git Repo - linux.git/commit
Staging: dgnc: Use goto for spinlock release before return
authorQuentin Lambert <[email protected]>
Wed, 11 Mar 2015 14:22:01 +0000 (15:22 +0100)
committerGreg Kroah-Hartman <[email protected]>
Thu, 12 Mar 2015 10:13:41 +0000 (11:13 +0100)
commitc84a083b995b0bde61640b6576f9c80584915b7a
tree714df51147159edfeb2d064a4292dbd32aaaa12b
parentf6a14cf04fdb17de8a96c59518909216f6892e19
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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/dgnc/dgnc_tty.c
This page took 0.056477 seconds and 4 git commands to generate.