Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1569529ybb; Sat, 4 Apr 2020 07:17:23 -0700 (PDT) X-Google-Smtp-Source: APiQypIDUx/jAupIU463d4vLiQ2lBF4LEe8J6i7sqjEfhmie41SMwFCgZsIrguebxioad0JNeBVM X-Received: by 2002:aca:b7c1:: with SMTP id h184mr6875679oif.77.1586009843441; Sat, 04 Apr 2020 07:17:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586009843; cv=none; d=google.com; s=arc-20160816; b=mvuS5lR6y3hTVQhbIO5HuA4nX72rczWEDK4oHtrU99UQSUW9qrHWZNI/kzHBdbhBsJ C+mMx06Ou28wjnQoaDb4+1nn/DOzkLTm5AxY06F7P03gpozUEcB1Rkx5j65MpY+0ft/X /uoQJDJmQr1SP97iOADVwch35fYDGUrfDGyPP3mIlSbRD0BNdnNgYmm2vYF5PY/hskuc 5aF65gK9cbqCqhgttyl0G9QCwmENTidCxfnoBIaKD7HoAkRpkyA+ofidLeH4t4kNtu7/ g6ovzhFseNkOXFMveuqOrOdOwuac803FT8NUFCwq3ihRFkFZi5pORNVTq49jE+/Z7Xe2 uR7A== 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=IjDxI/dxCkpkY+GIlY8sUR3pky5qL7rzq+nW3oOh7Cc=; b=pnQAt2td+FO5mKIkZ6azOWna91wBPzWQBODCD+xx6tg0GukI/bRZ92+odnzmTNwO4H eLrZbVfIkTk0S9oygv14FthuLjHxYoFjnGh6gnHiCY1MU1+Og3pVhc1l9z+w+9JU7N8/ sDXI7N7eo4yKi/Hizq7k2iICFQWB3YIH2yLSarMgfzaX+0ZEyFj6O7Pty4zA67Za42Me s0EkYPmXEby7tKwCq4lUZwqWfVSbq9bwavgncpCkcgbmQsOpwYkp4sciOKnG/5BtgpfX bwcsRnDnMKy2enqM1LpB5H+H7+TgL0FZYQeIqCT1QB9JJT8HQarA9hCe/Asy69BpFdNG FffQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=CgtrrvdW; 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 b5si5385602oif.104.2020.04.04.07.17.10; Sat, 04 Apr 2020 07:17:23 -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=CgtrrvdW; 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 S1726461AbgDDOPH (ORCPT + 99 others); Sat, 4 Apr 2020 10:15:07 -0400 Received: from mout.gmx.net ([212.227.17.20]:43257 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726039AbgDDOPG (ORCPT ); Sat, 4 Apr 2020 10:15:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586009702; bh=lbbBWv1jwPbMkYTCVBcrHbtiC2lvaDdvG3tFhSrWSyQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=CgtrrvdWs3Mq9ZeXwaIb+wNGuu4dFG8pIXd1w2tOWcNvagN0J/hwES+OINqlbuVHA ibT+h+6kTu6jDPxqIjicwAtxPodL8lAtfRS/EVuV2RYNwkR7oZUfEugHKd8goxXWYF pUwf0RyYKPhdCJxRBFpW/GTK7Iwq+2JS6+Ul+jNY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from localhost.localdomain ([83.52.229.196]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1M4Jqb-1jL0gm3qHh-000HBY; Sat, 04 Apr 2020 16:15:02 +0200 From: Oscar Carter To: Forest Bond , Greg Kroah-Hartman Cc: Oscar Carter , Malcolm Priestley , Quentin Deslandes , Amir Mahdi Ghorbanian , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] staging: vt6656: Remove unnecessary local variable initialization Date: Sat, 4 Apr 2020 16:14:00 +0200 Message-Id: <20200404141400.3772-4-oscar.carter@gmx.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200404141400.3772-1-oscar.carter@gmx.com> References: <20200404141400.3772-1-oscar.carter@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:nAfqjazem6z6y/TYc4YVW8HXnrU+5qkGZv6K0hwpbX56hkTo0gk rvX56M1E7K2nl2TqTVP43YAKDJIz9q00BxYhJSqwX3wXbhpL7AVpRNYo+H3Tbt4PGqmmKLm n9MHrB8go4cxKCHd/YD4liiUEf0sS/RYkHR73KW1WbVUytjy+Bds172D6f9LsGBe8DNfL+6 vSP7vRZnk36c0I807aOjw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:V9S1WR/bcOA=:nrF5eOGjFx6DaaLTOR5Jex +WtFRJNf9RKBJxorTX2Kmw6bvRO00cuCRfe7gvFj5TB5Ci4cQhDG9SdvozNufiw8rvdohCoKY C+B+TzNlVRcurL6/sBCPg/UV2IiagnJXm2edPACgBw3t2a+REE1PAjVjNFJD/KmzPQxknS6IZ EkDPkFaOy9Og9+fqocpidtuhldAf9+KueZr7X1OBjU7R3bclgsCBd9DgKgTV6H1HEyOyuHpRk ckfkpAJkPA77fElx0dfTE/STnDDDXaiuXtT7GT2Hhl4aJaIXdgZBjwhNVtHCRZCycIfgNd2BF Vi1DXxPI+em/9EyYuMS8FoQDZm/TLswz0CJQXxtEB9IhW+HG7EjDbznywoXeWAWbrlvrBdgS6 3JR5jqdWb0SEZb+v+7WM+3SIkx/5NJMZojPfCvsnSokWfPWNWjQqFP9Om0X3M8YCQHi50TuU8 kD4nJTeO4DOG/YJqhiO6p8kKkI8kQDQaYiNxEyZwBuqSg9OAuKfY94oZpX7oWpAreiW7AVhMO sGfz1wMnadxkqsExm2PUy3lp6Rm6+Ei3Fx8hM+cXIev9wMH421sO8D5XntFz/SUU/SSpjhfQj dZvDWtuZf8JUKXsBZXVbB+WCIguXjemslkFA7qH7G4FIiC3wzdPImsMzTTlVsT6gzjrmLp9RE DPbSRXYHzF/kJrFaKYfffz79c8+F+3Tg9/O4m14ooltoe4xDf+ygPprJ78m0c4Zb0w/m12ByR kd4KGAc4hOUKTXdAdnpg96qE1rMxNapgNq3L8kfj/mHUlsozx5u/1FULOWVuaI/155cvuGTDP HwxElkaRJONE5bQr5uMXjGc8ezLwMv3h5UPP9v4d7jkWU+I/nD44cnAHknrp+GLagiN8heO1B /LV/8xAq+MK+4ioSiOPgzbzcA50X817Ru0g9rCoQh2GLbfwAcPlhCgEOHu/jmKlhDIoTrDCJo 3l2nZtRkrVdQM9ijhp3nuAidzdmSRZuewwkqIrYqpHAIx3gnM40upueOFPgPELz3lgW/YdYKP 4ZjK+ClHG7PZ8Nf0yneMdClQzNueVYjZoi+rbDPnK0TVbSj1V4deL7fPTZVlkJXQM3X8av+D9 UTLJ2+lxkhTbAmodql4RmEFIb2yEVRYPvf+xVupbn7GawADs1kxrNK5TIAD3PFHvKXNGm08j7 0WCsZDyPZ+3xcEu7++k3yMu5zQkUl2f78eleragrGKs1KVwEA24HRBSMc1PQnx3fNOPL//CIx Gt1aUYR35Py1VpTnz 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. 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 a785f91c1566..04393ea6287d 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 >=3D ARRAY_SIZE(vnt_frame_time)) return 0; =2D- 2.20.1