Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1534933ybb; Sat, 11 Apr 2020 05:56:01 -0700 (PDT) X-Google-Smtp-Source: APiQypKljiYbdvv6+6qc6CLnssguX+k2pXvrhdnAJVtf7FZxJOd+uMBrCwzamUpwfLEMLdbdqe4w X-Received: by 2002:a0c:a122:: with SMTP id d31mr9315679qva.109.1586609761774; Sat, 11 Apr 2020 05:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586609761; cv=none; d=google.com; s=arc-20160816; b=tXcOOYSxe+wURA7RmBp/rZuuHn8WMkpTo8Yo8JOYX8Va5gFr7UHM8pMlwczz4cLzkJ hxbLp1klMrVDFcMVP1HnB4iQynUNcKqS/xkPf66T2Ufph1AfCsrA9PhLOml4u293yMdU YzBh+88z/S3rg6EepFT+8Vz+FyUSZoYuPevCuX5vxiDPc/ChrVDhaGtvMO04/q+mZPnO S4+b+VehYas3q10QEHKkkt+tsTuRdB5SCvbrRsXqO1WA5aepuTdIUg3p5799kDw/eE7s EssmASAxXjf2XZuUW4Q6+sWmXIyUo07WkF4UBIdZlntoEG+O95G3gRy+zuDro99TYf77 9fVQ== 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=gLEBp0u7c6eLFqygNS+BIl1t9VVMLaOUY1rks7hYe6c=; b=Z8qY+yjxk0DK40ZauKftQxeXveLrIV3/C2fKR9nfoMRC74xd0hjblsOSuEy3MUTOxz DTFICN6ATHRhruHFSqxm8RzkWoKanYnhRXRYHtUC/I+qC2tKeYIQn42UBuPMG7jBwOv1 8urpOBvFMjvpTlhaoH9oje515WQPDwcoxHkeP7X/JS/BmA2WnN52qynMDGvSgBUm789A K5FSkp4vECyVa8+KLPrGYlxLhosg6K11wqXXdgA083dUOd7v5UGlqHRPUgbeB3YBI5rv kTgu1prto5hVRWlJYbw3asoXVlGZ2Es3RWnIRdQk7QBBWkNAvFp5HrGVzFhOZRBPe0OH Q54A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=OTvl5qOX; 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 y45si2663141qvf.7.2020.04.11.05.55.47; Sat, 11 Apr 2020 05:56:01 -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=OTvl5qOX; 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 S1726524AbgDKMvv (ORCPT + 99 others); Sat, 11 Apr 2020 08:51:51 -0400 Received: from mout.gmx.net ([212.227.15.19]:54069 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbgDKMvv (ORCPT ); Sat, 11 Apr 2020 08:51:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586609507; bh=SVlJCMTqCvv1c7w+nfXau/qquMjlmrvygXkqNvJ5DeA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=OTvl5qOXk+sZS01NtSzMawPXJv0EYDrjhqI10N/3pkGGezTZs3HAjDudN4e16ZWcc zuF8/XcNpehMy8FWThKLijWm/kamBmjNE3AdnC7ooPqfa97w+mDmAVz7JCdTfHYbrR KdRweir4YfuEMKZoFeVMopiFrq06cp3FUjtQhAZQ= 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 1N3se2-1jELf10eY4-00zjYw; Sat, 11 Apr 2020 14:51:47 +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 2/2] staging: vt6656: Remove unnecessary local variable initialization Date: Sat, 11 Apr 2020 14:51:04 +0200 Message-Id: <20200411125104.9625-3-oscar.carter@gmx.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200411125104.9625-1-oscar.carter@gmx.com> References: <20200411125104.9625-1-oscar.carter@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:tNvyN6LT2MEV85uEyIvoHXTQfbD8/HTPpV5C1/Zxar6stA3PZZA vn95fFukMuJQmtJ5nhhR8aTK7OPF0cUt/h45oKgo/X1le6zM1k2F7roBba5JTdS8sxsZJwj lZyAFU5fAi54xlkRBEBdSH5sjJh1M6Q9wRUppoGTTYw773O/OQKphcsgaOw5QgPVpsCjbwy nm9jj9EuwRlwt6xh8QjEw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:nkd81Q42ko0=:946dBrp9QK3j+5gy9BSKYx VZeqvLvElj8sRI6cNqg5AgSfQgowxwakhPM61IUjEliUWe1b8RrJ2cNsIg9pPFul1TYISIOUE uso0JQLMRrY3viawSLTiDRDlhHgQDGatTrJPQtUGt3vP/RcLjO8rciXwhOb9h5OsKvUIOTZwC m4W+Dceb2Ljeem6Mbdl4WDLez8zxkY4zF7qExo+SPVMDW5Gwb48pA86zedVq+VIJsyCo8/O9l ne2IYlrrrWa0z6sfPYhsbZ+GvJT/EwkcTKX6WxModm/b3lcYRyhjzolvSwpFzg7OmQAv3EN+z XMAO8omytfdi3yH1h21A9EoTidDYUZahU+scmErNJKmC+oD/tNBGzRZGifXaQ+1+zomFAEG2A 9XbEw1kQlNkF+IEZ/Md0kf9xqLPAB7aQLhNhADFEFmr2R7FHwvzEtjkJAQZThIA71cAsoI5sT 5qXcLOjtQ9J+IWqMiWte7TVahmwjjePgY5ikQq09IswbLcuREWwmQds2BCeNV03hRGxhdKzpA D3XTho4XZCFPzjRKJexVxIb0ZJNTPseinHqG09Ffkoo+W4DE56KsaMlzmKnCqTs1JHgm1jHQb 9mzOV3f4VoF6NGeB8vh7Bb1UXGrvbCMBU5SrEPVFrrba8HNVNUiumZhkC37dOy4nLOHshcoIz pwthBwIZpC3MD2XEtKBNWnB6YhafuBrPz21sCzXHIrNeFWi+jGtl82C0+Y0f/Gx1LBJnspmSP LwT48sIFq3ce9B5Us2Fwd4wNCtWF5KQEsen4fLY9iIshU9OdNP34HjvYAkH6YzPcyUSvfVWrf Z9U1k5X89O+IKUwUUrOH/OUSUDmMGKoqokzjg2dlzTtjujnFZb41TImohek5zJDFWAODnh5A0 UA7jwtLhUIXEQoWZFfbgN/+L5LQ7WgIGTf87yZy/umAieauY4gZYpx77fuEkkizYL02iS6tx+ Is57eWnqgk4hGzPHIS//YoeGx6M8R67b/r98+0ZADOFuQkaBseRVRCA4f1e+IohSGRH4p4JDr 9/OPm7CmTykYoar0qYYCuIUgzzzYJx9kkCq86J+p6n4eLnumqDC88JCGQJ3rYSVnmkuxrzxvS siQ1NGXoTYArAfYInDORlc9I3eQqan45lexf5AL47+GWju7t4zipG/xoFKzgNInzR23/jaYda kDxwXLx6PDj5EE+65eGXm8+V8yD5G+Qatut2PKKI4ED06WRVc468CVGr/AshfDfT6zBfboaTs gj2ySC++1UdUS/rBk Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't initialize the ret 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 276210a7284e..10d1f2cbb3d9 100644 =2D-- a/drivers/staging/vt6656/baseband.c +++ b/drivers/staging/vt6656/baseband.c @@ -352,7 +352,7 @@ int vnt_set_antenna_mode(struct vnt_private *priv, u8 = antenna_mode) int vnt_vt3184_init(struct vnt_private *priv) { - int ret =3D 0; + int ret; u16 length; u8 *addr; u8 data; =2D- 2.20.1