From patchwork Sat Sep 16 10:53:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9954197 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 727AE603B4 for ; Sat, 16 Sep 2017 10:54:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FD0B2949C for ; Sat, 16 Sep 2017 10:54:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54CDA294A1; Sat, 16 Sep 2017 10:54:18 +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=unavailable 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 AE6EC2949C for ; Sat, 16 Sep 2017 10:54:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751259AbdIPKxp (ORCPT ); Sat, 16 Sep 2017 06:53:45 -0400 Received: from mout.web.de ([212.227.15.3]:57159 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751185AbdIPKxo (ORCPT ); Sat, 16 Sep 2017 06:53:44 -0400 Received: from [192.168.1.2] ([78.48.47.134]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lx7OL-1dMAMk1soD-016e2f; Sat, 16 Sep 2017 12:53:39 +0200 Subject: [PATCH 3/3] [media] mr800: Delete an unnecessary variable initialisation in usb_amradio_probe() From: SF Markus Elfring To: linux-media@vger.kernel.org, Alexey Klimov , Mauro Carvalho Chehab Cc: LKML , kernel-janitors@vger.kernel.org References: <7efe75db-dbb4-0fe7-509d-908b81072ca1@users.sourceforge.net> Message-ID: <89894f97-d8de-8687-0697-6e7fab1e922c@users.sourceforge.net> Date: Sat, 16 Sep 2017 12:53:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <7efe75db-dbb4-0fe7-509d-908b81072ca1@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:HRptfhShi1u/476k5kdBflgw+cc2jsxM8rqQVntt9rp0tMTCRf/ gOo82itreW4Gtb/dHklRiekxpk68qhWsRlQ8HQ8M7fS4NrY+wcO1VgROKmc7Z2YGUnQbffy fjfiDETtXfNMDjuwl2oZFxHfXpdC+f2nMowXpbKzWfiot7cLbZoeWVMB/Lu5yfpKTvCLvrK etCPsrSNPQmma5DMEgqHw== X-UI-Out-Filterresults: notjunk:1; V01:K0:860mkMmWEiQ=:foHVm6EKltbmRqSQy2hsjL Fb4tshZv46w14aJ3D20a4ntPrQOYK/qalGrWj/Vxx9aUmq1aeDOtOD207pRcOMrkTBIIx9bsQ 9EcBSgAjhKoJEdm0yj+76Opdtcms8wQrGForVj+Y5FfUbRdR8GU0Tv0ee6mommnEsysYZkQaB uo0c7oIkuEqoXOvu5FE676aX8Ic1tdSsjIE5kug5wDhL+yWqPHNqiZ5PY/cLuM8vgWIBxacd3 4RmXvsUBiALUXr0HcJtC6RGj1iU/u+6H6p1qwgGlz4D3M2hCeb9XB1L9UJD/043z8suD1WeiJ Z8J4ky5q2vTfjLm2kQnDpB1VS+JQwqYz2Tuv0TxUzk4p2LyP+8xgmnybBYUB4GapQEghw+e5A L4QyjZJs3TGnitWsboccJnFgOFOCUVwh0/Ub2h8Sxomxl4QMY4J6ZM5NduMluhnYsNOBgWGRY xh2u4cPnX/3k33JxzR5Wbf+6wPvoHGdwuHJ8aVdjHwyVRlpvBKS97g2wgbkn2wAX9K85EcKfH 7gul5nxL7hUKHVD2aHT7/yp6LF3ZwNarSfNKQG82U1uL9C2z+7+10OZ5XsL2dTpLKdlQ86cxX 0oF6v3sSbwpjJk6MRGNkp0PHt55J0IMC1MokLCsnHfAV4muLrTqqoBRR23ggLtVEddYqGOnaM a/sExsuexdrmCCtR6v0vi7U3OXELQYg+2/QUaiInqVg6TBCRrqm24YJu/3SWsaAb7gCOgfBI/ Sr4/LHkBpw0zTYFTpmeN5HtMhb8u6+4LHt5FTLxzk51ektffSKoJatDQgKvEJVdxOPlhAMp+E ICJ2rHwGfkfxM4nSCzzF7Vw6V0ONWanvL4436/nbSWRB07SQtw= 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: Sat, 16 Sep 2017 11:39:50 +0200 The variable "retval" will eventually be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/media/radio/radio-mr800.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index 7c4554ce1cf0..a1f4dc9be284 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c @@ -511,5 +511,5 @@ static int usb_amradio_probe(struct usb_interface *intf, const struct usb_device_id *id) { struct amradio_device *radio; - int retval = 0; + int retval;