Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4020043ybv; Tue, 25 Feb 2020 11:35:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxH6H+gbCjzAsNlzVNN7+3ouqGYRfuM35nirX3Zp/ing3hpIczEL+c1SH3sIfnQiu8bItu4 X-Received: by 2002:aca:2419:: with SMTP id n25mr401111oic.13.1582659319307; Tue, 25 Feb 2020 11:35:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582659319; cv=none; d=google.com; s=arc-20160816; b=CGxrdiJkagScPHgFRB0tHYiRgJQAZot0W9vVYtysXkppfrDl6rtDCrk7uYnxr4QWdg owO+kmQd5xN3KAJLM/h/H0EZJ/YK5hv3/rylxpab+uODnM1ewKe+S29C2SsDsZpfhEiR 6naeR9jV+W/vORFBaFPB1EyUn6zK2ej/iaglvBhAi1eD6O/bywDLeHGcT3Ad5nd5WRiJ lJMjD/EMAOZELZ5G8ihpdIbksZJ6+kMsk1O9kAiSNuYSt3SfbhTv1B1ZDW/WDG7t+vqk HzdbAgKiajvw6HJ++jVWfNIIV5ym/V4lHhyqxrGYGMagmInGlmxOf98ovDXze6dBDubE 1yQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=xqyxBi/c4oqgrLkOdDa0l6tVUXU8x07pdVEfDZCcVw4=; b=mszGpARFIqMsIyDHmJv/JVMyRDyD1/z7lkAEzcmsdNatTReE7Z/RTW6L8o+eM0BSEF R7H5m031dJM7tSKP19+M81ttNNxDAouVPisul31nSawkMByQ6YeSKDlvqx5XCwMO1LKb X/VFNp/MaCwxpQZ3iuXhX8T1xANcbW83UOpqCVaHG6ckwbOOb+/z/agNwvCqXaoT3Uw9 4Pc+5d/QnZXC+3ARxaTCO1exL+XYWMII8tIYN4FpmmprYU8xElI3TcHNb/YzmvIoSWo/ aiEUnBNKlAgR+Pi0ICeR4U4rAqeOcKZAmzBBuajutuQeJLbiIPm0JE0fpsnTFVzJbSOR /BXw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j25si64558oij.242.2020.02.25.11.35.06; Tue, 25 Feb 2020 11:35:19 -0800 (PST) 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731361AbgBYTQj convert rfc822-to-8bit (ORCPT + 99 others); Tue, 25 Feb 2020 14:16:39 -0500 Received: from mga18.intel.com ([134.134.136.126]:36580 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728756AbgBYTQj (ORCPT ); Tue, 25 Feb 2020 14:16:39 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 11:16:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,485,1574150400"; d="scan'208";a="260805520" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by fmsmga004.fm.intel.com with ESMTP; 25 Feb 2020 11:16:37 -0800 Received: from orsmsx125.amr.corp.intel.com (10.22.240.125) by ORSMSX108.amr.corp.intel.com (10.22.240.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 25 Feb 2020 11:16:37 -0800 Received: from orsmsx113.amr.corp.intel.com ([169.254.9.183]) by ORSMSX125.amr.corp.intel.com ([169.254.3.208]) with mapi id 14.03.0439.000; Tue, 25 Feb 2020 11:16:37 -0800 From: "Allan, Bruce W" To: Colin King , "Kirsher, Jeffrey T" , "David S . Miller" , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" CC: "kernel-janitors@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [Intel-wired-lan] [PATCH][next] ice: remove redundant assignment to pointer vsi Thread-Topic: [Intel-wired-lan] [PATCH][next] ice: remove redundant assignment to pointer vsi Thread-Index: AQHV6aMWiEGBawp1sE64DZXz6vfzxKgsR9Og Date: Tue, 25 Feb 2020 19:16:36 +0000 Message-ID: <804857E1F29AAC47BF68C404FC60A184010B0500CE@ORSMSX113.amr.corp.intel.com> References: <20200222171054.171505-1-colin.king@canonical.com> In-Reply-To: <20200222171054.171505-1-colin.king@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYmZhOTY1YmUtOWQ5ZC00MDcyLTg5ZTMtYzQ2YzJhNDQwNDJmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNENUaUxac2FRUkYyVTBoNytRMFlaRmM0NjAweDUwb1RQc2sySGNLQzBrM1VlVjUxU1Z3QW94bk12VFRWcFN1MyJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.22.254.138] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Intel-wired-lan On Behalf Of > Colin King > Sent: Saturday, February 22, 2020 9:11 AM > To: Kirsher, Jeffrey T ; David S . Miller > ; intel-wired-lan@lists.osuosl.org; > netdev@vger.kernel.org > Cc: kernel-janitors@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH][next] ice: remove redundant assignment to > pointer vsi > > From: Colin Ian King > > Pointer vsi is being re-assigned a value that is never read, > the assignment is redundant and can be removed. > > Addresses-Coverity: ("Unused value") What version of coverity and what options were used? > Signed-off-by: Colin Ian King > --- > drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c > b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c > index 169b72a94b9d..2c8e334c47a0 100644 > --- a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c > +++ b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c > @@ -2191,7 +2191,6 @@ static int ice_vc_ena_qs_msg(struct ice_vf *vf, u8 > *msg) > set_bit(vf_q_id, vf->rxq_ena); > } > > - vsi = pf->vsi[vf->lan_vsi_idx]; > q_map = vqs->tx_queues; > for_each_set_bit(vf_q_id, &q_map, ICE_MAX_BASE_QS_PER_VF) { > if (!ice_vc_isvalid_q_id(vf, vqs->vsi_id, vf_q_id)) { > -- > 2.25.0 > > _______________________________________________ > Intel-wired-lan mailing list > Intel-wired-lan@osuosl.org > https://lists.osuosl.org/mailman/listinfo/intel-wired-lan