Tag: c84a083b995b0bde61640b6576f9c80584915b7a

Staging: dgnc: Use goto for spinlock release before return

Author: Quentin Lambert <lambert.quentin@gmail.com> 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 — drivers/staging/dgnc/dgnc_tty.c | 48 ++++++++++++++++++++——————— 1 file changed, 23 insertions(+), 25 deletions(-)   diff –git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index d78e5bf..8445f84 …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.