Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4547562ybb; Tue, 7 Apr 2020 09:32:55 -0700 (PDT) X-Google-Smtp-Source: APiQypIIvBed5107ZEn8nPrUCZprWRkAebsXsPdgy3zOfMpzqARAJNV/hJGkCvlixWQtiFyGY/bW X-Received: by 2002:aca:ec16:: with SMTP id k22mr75081oih.177.1586277175384; Tue, 07 Apr 2020 09:32:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586277175; cv=none; d=google.com; s=arc-20160816; b=cgm6hfXvpcKbuuEvgBxx1jSht87Jziv52bnOFyYumOURmL89w9cJbeSslu+4lD06EQ dTPY85XpeYnRWGiykGmjietLFdkWbHh2vgmRdeD6uAn0xK32sUIAxnwHsksooKWfflAD WJ4vkQ5pIZ+5eacHF/3gyaAubOIUqfGdf9S8JBnEfNuGHl17SGPT7zToaZokSbcVnWlT /nR+GY6IrZXf/zKiUAZn9/9bxToUdB1zxXoPoxBAfUXKYs4GI7Pzm0YhGbv4++6onnx1 TS24jkvqp4yVhx+BzYPHEkeFQvwpJmwz5viv7Hm3BUX2GAvRoy+UaSE0S0USGEw35RxZ vSQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U8C0kjWK6tfhtjSoLdiOrJQhXcJ99GjHY6DOutQqeXA=; b=Ge7U/Vlvrrq9cPKX2QLoPuVkf1DixXFfiPPgmsDdyDzd0r5K9YQDGxahSNa+2+G+3r 860UUiXljR4ba4247rxiToZjCNSHwZ6I0oqxs24Qr7MUVjiqakR2lzVwQ8YiZTNF5jnu WPF1qKiknAAg2sjBDhzuLnk1vr81BJ9psG8WkB7J1VM8qU4Q+b9kWtUp2LeJKQYZ/iT6 SBnfdVVsPe4jgUyAn8BB9O9V643SBPVx9Pv7AbF0g4vET7U6SDZXWS9Rh6twq/9jRkJF 1BAo9Xu5y2cdJEcEnZ1m+UmIejnGjWBzlQiMVk3LT1Ik6WzD/JKuvMrgpRm9YAv5QCBA sS/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=ClIVEwm8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r63si883968oib.217.2020.04.07.09.32.42; Tue, 07 Apr 2020 09:32:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=ClIVEwm8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728258AbgDGQbK (ORCPT + 99 others); Tue, 7 Apr 2020 12:31:10 -0400 Received: from mout.gmx.net ([212.227.15.19]:44755 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbgDGQbK (ORCPT ); Tue, 7 Apr 2020 12:31:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586277060; bh=mGcNn/hciDAa1MtlzL+yKAo9BVtXHK66bYlr9Vx0ozY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=ClIVEwm8T5Aa6VcCJQASK9GNmTiUt+aynyqNP6ZIf6TmCASZnR9d6SbWM4IKwXToa uDSaYF8YhZf7vRVraaXIW0ZEyzNelb3YOG308tHYAYxA6JtvRIZ+MrvngK+GJFa7vl uqD6AKqDz/szviFV+2smJlBnTz8UcQdkDFI7Iz78= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([83.52.229.196]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MMobO-1jcQZU17Xo-00IjSr; Tue, 07 Apr 2020 18:31:00 +0200 From: Oscar Carter To: Forest Bond , Greg Kroah-Hartman Cc: Oscar Carter , Malcolm Priestley , Dan Carpenter , Quentin Deslandes , Amir Mahdi Ghorbanian , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: vt6656: Remove unnecessary local variable initialization Date: Tue, 7 Apr 2020 18:29:59 +0200 Message-Id: <20200407162959.7318-3-oscar.carter@gmx.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200407162959.7318-1-oscar.carter@gmx.com> References: <20200407162959.7318-1-oscar.carter@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:UaY/NzihUNA7noUE4WYo5a2HMtl4iCD2xIPTYOXp8Y36W5So9s9 SU6FGSAaXWqjiMZ+i4KJ+VgUy1o+JX72oXb9tGYSU58Q3IE3l7lUNmJPAvdGFCh48Kza7zj 7q6va4Abvh8S41q4PvJ+72V6UcyBlL5Qt5XqjKFU3uR9tqibS5MqVDox6PBNVo36I7SHFWt /W6duAPkz/YzcdTJBKIGw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ssw9doPq2OE=:oj/WuGNg3mz2KQVXrTZJeP fqAuIHxpbaf8nQtNhm5rog717riSqPIP9MJVR/TfCLgQ+fmJ/hE74+AWu/MS3pqQl35et2TMn qqbvBObj6sYgYPBJlIbbymW76ahkZ/UOA34FTmLKesPEWt19QOCFKHKOBn9+/1g+oZJQ2qYN6 PTHCVFNSUfKPlTHrogTTk4iTJALA4ZI6gq9ppXx4vO8ZICEfLB/I7u+pPdpmPmg6IbVLparz8 9iq+Uc6FSBJ+QFzgvpHFIOJe3Mb/mBGtIswp8SWtbUc5iLrSF+8iBizALt2XJlhu5gDPaCORv lG/hnCDCLGhZac+TBcRkz6utSTNrHlV2qS6+f2f42d2pomdirIMNPkyxUlipbuUyY1u/7ITVV Mj6G+WVyaKmxToKy7z95rRLvd1ekCz9sljzF6iATGiIEkMt4MnqIwNfbxZ/J1rJEXLCSXwZXt R2MSpUhVsCoZe27VGOlhzqnz1OQ3T7V9gvP0VTMXKFobkhKpvbdseop5DGUMvczxEe0E8GkEo hT2G2eNis6gD1zDZROpep64c3e6n0adUNuq3pNCQz9ZUAHHbUjm+7fxKUqwz2Vcoc2Q/T3Ykm nMH9t/nyYBgHNa732VtdBlPeo8NN/tCkrbyS59jhoUvopE61fHouTfIaItTk6O2tWztposGa4 lsoifrY/ybmGmHoNJ9cxitVrgJkaYIa0HrSgmU6UmpSbrE2hpqqaR3BWRJbtD0lClHDMrOnJX rAavBiWwk7HLMZsXDWm8PlDAYHpwS+BNabVl00Y1zGRMc/v4L9zuXzQ2G8Yb+sGVHQtWcPZJE yOBy7lpV3YvKZ/02C2cn50B1jBY2ygbv2H0zFhgOrV2CsfC980RQRs1opxOAqCQt3GI5EkAi4 rhKE0w86Jtp6LeQLsnNGHYhW8GueyyDghIcx/kYRJw2rNiPvLXgyupEmHQ5axpuyeMvWzk/Q/ z1gY0N5Rx1+YCXsIcvxAyx7JaIktqkHwqi7+Fa0S1KCR4/4WwrG7XTH3FBPGpY9A/EZWBH53o eeExstw5rCO5Z06p2LS+p4Gp1DR7Optf4xIIf/wd6viST0hM1bE7AcCsplcEp0B19N921KLDT CTwChosCov30WcasUYwCvNMCIsvt46NW6kLhfwVq7XkJlgwG7uqMEwBx71N6z0L/TYXQF5nQF CH21trLuLwMydyHMfR22ptE1QIBsYG6KfL7nuyI+AEezOtNDP8uQjCOjINwN1Lnjswcmm+d5q xDpKp27KcK33HmY/g Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't initialize the rate variable as it is set a few lines later. Reviewed-by: Dan Carpenter Signed-off-by: Oscar Carter =2D-- drivers/staging/vt6656/baseband.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/baseband.c b/drivers/staging/vt6656/ba= seband.c index 092e56668a09..5d9bc97916a5 100644 =2D-- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -135,7 +135,7 @@ unsigned int vnt_get_frame_time(u8 preamble_type, u8 p= kt_type, { unsigned int frame_time; unsigned int preamble; - unsigned int rate =3D 0; + unsigned int rate; if (tx_rate > RATE_54M) return 0; =2D- 2.20.1