Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4554440ybb; Tue, 7 Apr 2020 09:41:13 -0700 (PDT) X-Google-Smtp-Source: APiQypI9CCf6+srGpakcNhTTmXssLIhGIe/shdTwCB9LwJ3L5/hS5ohhCA8iXxzLkNyM32GH4DKF X-Received: by 2002:a4a:e78b:: with SMTP id x11mr2601496oov.45.1586277673459; Tue, 07 Apr 2020 09:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586277673; cv=none; d=google.com; s=arc-20160816; b=jSfA8+gd/jbLDTKwdAnkTD96pF704c1GN063CzJFTp+G3feVP6zoH1T2mJwr5Bxw6V kbjYASEXod3+c7/nhlbjB96l8dmGpvEPrKI/x5R3asqog+lSn1qi0Co1vha1bwzJOMld i5VkSJEiuBtE0k5cnFPpWnKiF0R2usJmqckxTVEl3lWO0n+vMbkTyxmt+LnsOQ7IMBrh fYmdLY9rlULp0Gx4vSKL3QqUUtmk0+XJXSSd9RHM3YEJ27afE17NRo8uhPslw7AJCxOI XXJOSSg1xoUvmbUl7iU1x0F8UhHgx/RTW498O7p6KOaZYE6BapVPPhznZ7wAGDiWp4Zs dCZg== 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=DEliMdp5Urral/9mzGHg5OoqZtGCyUbSyj+7lydUAiK8YAtRpKRYqlsuQj0yR9VO5Q aYKxSu5r31DcToLY7G3e9mQd0cuQP0nNYshS6VFnMECmWLSqehkqrGb0XkbPV2wW5RRF vQzdGwnJKJM8FrWYoIz8kaCWvB+pxShTL920gQbNwIXvqNA1sQtAp0MtOV7dSyoVl7tI /fJpDBbF6sPZ4YqqZnFnrqpl6CRRzuSCBPUIUvzR0SSR8Vl9B5HKptLWUEXjb63H+XfP kPs6+Bjbw0EY1Wwvbm0oMTnLlVPD4omQGmep5EjtO/wP6robnQ1GXyvrYvWo5siHbYJz JQGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=cn6DZ2Wj; 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 z3si1432582oth.163.2020.04.07.09.41.00; Tue, 07 Apr 2020 09:41:13 -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=cn6DZ2Wj; 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 S1729595AbgDGQjz (ORCPT + 99 others); Tue, 7 Apr 2020 12:39:55 -0400 Received: from mout.gmx.net ([212.227.15.15]:57661 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728667AbgDGQjy (ORCPT ); Tue, 7 Apr 2020 12:39:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586277585; bh=mGcNn/hciDAa1MtlzL+yKAo9BVtXHK66bYlr9Vx0ozY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=cn6DZ2WjYtKs62CRZOZRNdXp5CDg2YFifosNGXDjunNRe/aXDW/ktp7jR2sdLC5z9 r4t2W2nVixSJNC/4ERTtvFbhcD3qfm3VYeS3/+i1u+Zk0Xglbv7Tx0jv/YV6umIC+W d0WYqCPZL6lqiGRewiUsD6exyP55On0xPpIb9NVU= 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 1MZCfD-1jqz2W1KwT-00V5jc; Tue, 07 Apr 2020 18:39:45 +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 v3 2/2] staging: vt6656: Remove unnecessary local variable initialization Date: Tue, 7 Apr 2020 18:39:15 +0200 Message-Id: <20200407163915.7491-3-oscar.carter@gmx.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200407163915.7491-1-oscar.carter@gmx.com> References: <20200407163915.7491-1-oscar.carter@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:JrTaUvLuKsciovcEVi75pTrLYdNbPfCu5hJeSr2pBmookCPFny6 neiE3yExWHRogwpjE3iAY3L7iG8M75o3peug+ZHIF+JDfu6HEumkc7xe1cyIo5UGIk2IHMd DyU4hsDiOCSbZncae30RHZWClOb/duMhJytWUfOTdA85jkUozZuRrrfU4K4QEpRD8FVKy3o dPjSxZFHf1O8ewXr0qh+g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nng2L4oE85I=:zehfCa5Fv7gVuVuM/+8MD5 tKo+2MJhT7R8zpgpYizHQEaGVj3f79mNY687TBmJGsKWfen8ENPDVXxxzYrej0r9tteSDeJDi J0f9MwwUbUE+o/3KKFXBZmnQkJO10U0Jk50HnsSQletDZt5yO8s6OcSNhSBguWYxo4dtsj/BM 431ZQwmc/prQHSL91rSPv9frVBpynlEbhTCALH7eOBom9/39nYNHn3dqxwEHzHe9T+KXInn3F +TmacHYiniiLhGgW/4eArAmUoP1R5eoX/Ifl06bRc4kNLZzR+7gYW7WbiqnJlpweObxIE8m1T RZ01yttXL9YFtNOwKWXaLMfx/YYJoSzWR+Rdij2xhRxzDIWnT4R3pxK01pESpGTl2djJ3PwrQ XgbtQxJDvTAKTBBF492KaIzcIowYAZ3EtdjVCRPru49bXLbbt30Flk0olvm9K/daq4CoPX5CR qYsGqlCZwQYXhVgxAyNVFdkcPahF3hNnnzUiaLtZkXCOHb9bimv0NJa2bHqVWx1Ie6C0K+GAH WhbkErZKwLVWzT4UP0t8XzqKSKHN7KjDf768hszM34Nh+PjyPOpnjHw/rDkth/h29bL0AsS9O 8fi4aHxybI72PtaFcovvEd+R+UhcBMqSAgzuf7FbHkUQ2Tud2DepyFhTbzeorSwsmF51eJsRB VyGCctny7NxXgA570MmP89pHncJ3xVNxMyy+oalRmVnGLjCmDNzw20n5Vs/vhAHCOtZLOARUN As1pOATkJrksZuN9pQvk2Z3ejQLF8/U0ElfzNOr0iikHDyMFQJsAfrF4ewpGYLiBZ8Z5QWjy6 Z8ZWKUEbhBgAEcQj8KCldzUz/Nnda/IC0IINZGvzGrrgutDNiS29eREtAyWRaMxLXkYxC+5jN R30zIwRQzIOASCe5lQcIIjvImSPsJelFNBeD0cNMmu6fooFGkh6NPzMVGxcAdwSP03ct72rUc ZxLnTBH1FgVRM3+Wf4BhM3Hv60G3F1HYqRKD/ad1Z6hs1Mkhqe2AgEekCepI+0K9cbS3L+pWd ei4iB1hvFoRffcZWYCyVdXoBMPOFwGJmBSDjYo1oNy9Ks6goNwMKtagOHEgD1gTuJCjiotXVK 0qx97J6JBnyBpiLlsAyBmn4H2xDwzhy0epFEFFPVCns9AXur0tT1GyLyYSGoY/hVHPKv7m4Qw sgGYyRyM6mvrRE7YGISOaa8bjNjSR5Obza/MCnxQC6NYnt8CnNNRJ2HeNb1lUOyrLSu8uCmZk goUCWlTs2aSOKQkEs 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