[PATCH 03/11] virtio_console: Rename a jump label in init()

From: SF Markus Elfring
Date: Wed Sep 14 2016 - 10:02:49 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Sep 2016 14:10:24 +0200

Adjust jump labels according to the current Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
---
drivers/char/virtio_console.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index bf0ad57..004314e 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -2309,7 +2309,7 @@ static int __init init(void)
err = register_virtio_driver(&virtio_console);
if (err < 0) {
pr_err("Error %d registering virtio driver\n", err);
- goto free;
+ goto remove;
}
err = register_virtio_driver(&virtio_rproc_serial);
if (err < 0) {
@@ -2318,9 +2318,9 @@ static int __init init(void)
goto unregister;
}
return 0;
-unregister:
+ unregister:
unregister_virtio_driver(&virtio_console);
-free:
+ remove:
debugfs_remove_recursive(pdrvdata.debugfs_dir);
class_destroy(pdrvdata.class);
return err;
--
2.10.0