From patchwork Thu Oct 13 16:42:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9375451 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0450360487 for ; Thu, 13 Oct 2016 16:42:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E8DCE2A16E for ; Thu, 13 Oct 2016 16:42:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DC3842A170; Thu, 13 Oct 2016 16:42:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 861132A16E for ; Thu, 13 Oct 2016 16:42:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933226AbcJMQma (ORCPT ); Thu, 13 Oct 2016 12:42:30 -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 Received: from [192.168.1.2] ([77.182.72.22]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MbQLE-1bc6Gs0W7I-00Ilj6; Thu, 13 Oct 2016 18:42:18 +0200 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> 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-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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; }