Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933296AbcJMQmc (ORCPT ); Thu, 13 Oct 2016 12:42:32 -0400 Received: from mout.web.de ([212.227.15.3]:64276 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932307AbcJMQm3 (ORCPT ); Thu, 13 Oct 2016 12:42:29 -0400 Subject: [PATCH 14/18] [media] RedRat3: Rename a jump label in redrat3_init_rc_dev() To: linux-media@vger.kernel.org, Hans Verkuil , Mauro Carvalho Chehab , Sean Young , Wolfram Sang References: <566ABCD9.1060404@users.sourceforge.net> <81cef537-4ad0-3a74-8bde-94707dcd03f4@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall From: SF Markus Elfring Message-ID: <172b54fe-559b-44a4-9902-96abece75a7f@users.sourceforge.net> Date: Thu, 13 Oct 2016 18:42:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <81cef537-4ad0-3a74-8bde-94707dcd03f4@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:DTc673XW1bbUMgqmbmuhTcWvqzFjsxU4fKBO73PWeZLHZ9t6/W1 Fy8JMqQvPaPjwO1BpZAv82kWfO+uV8jkqugB0YNYHEboDxT7K0rriJLXH6uiOKDuufPlI1t xdVdVbv2Q4yY+Ml0YlC4OKNL31E5BcXfCUNNZ/HPTIH7YxNUYDnNQE/jcI7wGoXX4x0Oi2+ oQhVg4qzIpDAaoEqQyldg== X-UI-Out-Filterresults: notjunk:1;V01:K0:knPAXozbuhs=:RY6iMowf13f8CER8u6pWq/ wYAZ3XdiViaKwUNUZZ8O8QSdEa7O425byLZUwzvqBvZNVZ1gRMwSmUKoJVxVaqvr4pxsvzzYJ 0riL52holvModETpM2Hb+4+7XcdY37siFoS+YYqdsvzalUf49Hzo6cpbx4ohnMQ6JnwgoRIDe ChI1Gb/7vy+nxgFHizGFPAe8fFQH/UdIa7LofkbQiR1P5PI/6KP6rGA6dwindCzPc3uVu1BpJ RwgtWJdHiCq0ypo+2SHOIe/HDUw3OQw6tuvOKS7PSJl5duj98pASE1ZDxZqjtKLcuUBsgzjGt mRQngKXjq2ruxluuZdjmRax7VDGA+qQDVpeiFraf3+QKwqf6pIRlAKAOaZhdCtEvhkUioQJPB QJNvV1s1gkwEl6BU++3rrwIUHvte036dIDo0prVbTxWEpA5Cx0ImGYZFlwNe0GzgE/azEEkgL rDXKGqRuq80e1XSssRwL8psVHfah/5EtpXTi1wyUPsVUZPjdZDWfSMNErUh2+JWKk/sI7PVHf Opvo1rQA8RdGGGLsSGpT0YwnQXPChmgV5cNQFGmdG60ozwWyrPsZRLAlfZ7We7P2t9HeToSsa H0OzBa8lSXR4zgcZZQ2JNpYbM7+KAfItz0uwb3ebHswePiXTTytSpw59/EUVIy3Aw4b0kqXih kAJDt23qr1TY2eYlLfi3tVFmnWw270AgjOoVV4YYDTgmI56SO2+WBxFh9lP6MlR5Jffji+M6P 7UJDdwbXZoi5D0TwV7qqZZvpBznI36papDQmDf2nIj5/L6g4d1dp64JdI7jxxGAjRUJ7BUou6 CwdKKy2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 802 Lines: 31 From: Markus Elfring 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 --- 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