Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3399833ybl; Sun, 1 Sep 2019 12:14:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8zW/xqfGpMFw2FoRv27hbgwzrpH8RVN45qxoLD+uTtRs+tpoq76/RAIpYtAmKBE6fuRNp X-Received: by 2002:a62:e70c:: with SMTP id s12mr7930696pfh.65.1567365269653; Sun, 01 Sep 2019 12:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567365269; cv=none; d=google.com; s=arc-20160816; b=uOs7bRgflcNQhepPIrMZFrKdFn/rV5nUpVLb34+q74BUb9H/ubQvQy8ZGsiJdrWTSX cBndJkJ4kZFuOtWoXfYqMm8XukM74hrLBNYf0pm3bidr5V61LQGHog7GnvPZRFSjMt8q 4+uI2SvfZylqkJAlesSvomMkHh3+ad//XwWDtYhGvaEDZitTecIBdtVVteIzt60bH6cu 0lqL5gZwpXqvs61x0rYsNBzLbBYjs7Hh5pbINRwFaAnJr/R0sO0pIf1czg9ihVvYXaq9 O7ifH1mxcaxtITo9BOlhCfM5rHBwi1roqSAT3YzL7dA+SDrMYhwFf3TPOzBUeYK54aVx Jtug== 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:from:subject:cc:to:message-id:date; bh=pFknj4SZeuVsoQeCBWaM/snQ5CvArdCCPXcDT8XqYGI=; b=V6LXdqf/u6gQkEJpQyh+EW02zNSKpMaZEGu8/fun/3D1EwUyL6Eli/J9MGDWQ2uz2z U6czBROyNx/bfWE+/PcDiaW80g6obf3y2Eg/urcBTxFE3Oqape/vH3nQQiKBTfWJewaa kf6kKwUU3SVngP62Fv5EibjTlIMrKP4Oc1gm9kxflS4MXDlVRNQMFwpqbcL7YFAzhKX5 U0nmKCsMGxXtLnzQrzCgV9HU+i5XihwKRqvX9spSdHJip72JcgjT0Bmo+xHrycshkhTE SX+5Dg1f1pF9GKQXVX2fhJ4MTEGhvSzRNuk6ExzTHtmoKomcrjvAubM9lJnRBOZrbNR+ zwrg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c3si11980423pfi.42.2019.09.01.12.14.12; Sun, 01 Sep 2019 12:14:29 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729249AbfIATMg (ORCPT + 99 others); Sun, 1 Sep 2019 15:12:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49560 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728930AbfIATMg (ORCPT ); Sun, 1 Sep 2019 15:12:36 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5C1133082A49; Sun, 1 Sep 2019 19:12:36 +0000 (UTC) Received: from localhost (ovpn-112-7.rdu2.redhat.com [10.10.112.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1ACE1600CE; Sun, 1 Sep 2019 19:12:33 +0000 (UTC) Date: Sun, 01 Sep 2019 12:12:32 -0700 (PDT) Message-Id: <20190901.121232.2071064498490409022.davem@redhat.com> To: colin.king@canonical.com Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com, tanhuazhong@huawei.com, liuzhongzhu@huawei.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] net: hns3: remove redundant assignment to pointer reg_info From: David Miller In-Reply-To: <20190831072949.7505-1-colin.king@canonical.com> References: <20190831072949.7505-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Sun, 01 Sep 2019 19:12:36 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin King Date: Sat, 31 Aug 2019 08:29:49 +0100 > From: Colin Ian King > > Pointer reg_info is being initialized with a value that is never read and > is being re-assigned a little later on. The assignment is redundant > and hence can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King Applied.