Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500451 > unrolled thread

[PATCH 14/18] [media] RedRat3: Rename a jump label in redrat3_init_rc_dev()

Started bySF Markus Elfring <elfring@users.sourceforge.net>
First post2016-10-13 18:50 +0200
Last post2016-10-13 18:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 14/18] [media] RedRat3: Rename a jump label in  redrat3_init_rc_dev() SF Markus Elfring <elfring@users.sourceforge.net> - 2016-10-13 18:50 +0200

#1500451 — [PATCH 14/18] [media] RedRat3: Rename a jump label in redrat3_init_rc_dev()

FromSF Markus Elfring <elfring@users.sourceforge.net>
Date2016-10-13 18:50 +0200
Subject[PATCH 14/18] [media] RedRat3: Rename a jump label in redrat3_init_rc_dev()
Message-ID<srRmG-5Xf-21@gated-at.bofh.it>
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Thu, 13 Oct 2016 15:00:12 +0200

Adjust a jump label according to the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/media/rc/redrat3.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c
index 74d93dd..055f214 100644
--- a/drivers/media/rc/redrat3.c
+++ b/drivers/media/rc/redrat3.c
@@ -890,12 +890,11 @@ static struct rc_dev *redrat3_init_rc_dev(struct redrat3_dev *rr3)
 	ret = rc_register_device(rc);
 	if (ret < 0) {
 		dev_err(rr3->dev, "remote dev registration failed\n");
-		goto out;
+		goto free_device;
 	}
 
 	return rc;
-
-out:
+free_device:
 	rc_free_device(rc);
 	return NULL;
 }
-- 
2.10.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web