From patchwork Sat Sep 16 12:21:42 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: 9954227 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 304C8601C0 for ; Sat, 16 Sep 2017 12:23:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 201F7291A3 for ; Sat, 16 Sep 2017 12:23:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 147B4291AA; Sat, 16 Sep 2017 12:23:14 +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 7EFBD291A7 for ; Sat, 16 Sep 2017 12:23:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751273AbdIPMWG (ORCPT ); Sat, 16 Sep 2017 08:22:06 -0400 Received: from mout.web.de ([212.227.15.3]:55526 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbdIPMWF (ORCPT ); Sat, 16 Sep 2017 08:22:05 -0400 Received: from [192.168.1.2] ([78.48.47.134]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lhedd-1d6g0W1DdJ-00msnn; Sat, 16 Sep 2017 14:21:45 +0200 Subject: [PATCH 3/3] [media] WL1273: Delete an unnecessary variable initialisation in wl1273_fm_suspend() From: SF Markus Elfring To: linux-media@vger.kernel.org, Bhumika Goyal , "Gustavo A. R. Silva" , Hans Verkuil , Mauro Carvalho Chehab , Sakari Ailus Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <1725267e-7f27-a46b-9dd7-860c1734b15f@users.sourceforge.net> Date: Sat, 16 Sep 2017 14:21:42 +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: Content-Language: en-GB X-Provags-ID: V03:K0:yDfB/x0fBAPdh22p1FgadDK4CQxYQ6GK7oxJDWi7+epcNYH/bct Hq4FR4UybkKcPyFNh/QCuJMh2wu6dgujCW1kF9+naTc3KLB4T+um4BqBFHEDetdetRe7Y3v GYm8zA433f3sW3aSWY2Gy3W9xZ4uUdAox0ijIYGBj0WXtimZlgxwDFiL+ezcjP4a7g+HqVk T0GAYmrj2+cmnXB2F5U+A== X-UI-Out-Filterresults: notjunk:1; V01:K0:jT66BbX8H4o=:fgSLaRNSxsRz8kOO0dJtl2 G0c/PeJZXrF1rlcs30W4tggcpb7JRogp9zym6+lJpk/KuOhx44EPCQbjx7dyOnDTRaMVBYZn6 feV1rcn+gcstSR3AIV/8Kwi5wwS4VV7hsasoKnK7dFZjx6hHE7inpes0nugohm61uAAGggx3F 6CvFXsU62s75oP0Nr6HV3wBF/ANYNVilLhlI8Y5DP0YPyrbj/3J2dIEby2vZTpt8pRM+04snR QrmDw/9Ib+jHS4y9Q/56GjNqiHqw54ZAn016z8SRCCrQhTeFlbwlWdOGtxG0yGPuQUTzMWaZ4 wyuiadGoi751AED3ixGwMwop4bOrDphzA59xTMPUKSkQYuq0SDv9mccmdnA5KaaanIQsknUfL VQiNkapoNy0ytj6hODQfqCVIosdd7A7Lws4TN4ymV5t4tmrjdpOyX6jAacxRE6GsESHzejeMZ GGxEuQmTYEkIoaXa8PCWeYEe2EMsPF6IvkwQ+BoK1rrF4DDe/xxh59JOKVEhX8Cm6Y0DRu24k PLTcYK6yzPq1ciiOpFmGGal6sUYm/m4zsr2Q6Oa9KNGoBrbu+IS3+lPRYdPPdFRZz6q23HfRq IJrC+S/iwVPtr34W3mhCAFuUkrQQgtR9PTZX4Wk4JLwd3GAL1xQ/XOtlxqDPGPcBnfvhxXYic LOtuAQ7ePLxkJKM6umhFZs9MdbP6ci8HXzqZOa3VjhTH4UYkileoLJ5KdEMmwk7ru4Wdd8WhK TcUkHh3kQz2NOwoK+BVdOWqcc8sl6i+nnZliCdIMYOrh8miMFUzJngizm12NN7e0khYHhfWze lrLmg3I7XgE/qGqJxXoJmr9c7041bIBXbgNDrmJZTaMvXUL5sU= 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 13:55:56 +0200 The local variable "r" will 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-wl1273.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c index 74dc3195ea2c..b8f08bfc31c3 100644 --- a/drivers/media/radio/radio-wl1273.c +++ b/drivers/media/radio/radio-wl1273.c @@ -671,6 +671,6 @@ static int wl1273_fm_start(struct wl1273_device *radio, int new_mode) static int wl1273_fm_suspend(struct wl1273_device *radio) { struct wl1273_core *core = radio->core; - int r = 0; + int r; /* Cannot go from OFF to SUSPENDED */