Received: by 10.223.164.202 with SMTP id h10csp1023149wrb; Thu, 9 Nov 2017 19:40:15 -0800 (PST) X-Google-Smtp-Source: ABhQp+RtKJipCehlCVmiRts0upGbITZf4XnkOWjvhWQVG++J7nB5Pcy0d7pdqcQ3Nz8ziIwrUGZ9 X-Received: by 10.159.204.146 with SMTP id t18mr2596310plo.83.1510285215256; Thu, 09 Nov 2017 19:40:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510285215; cv=none; d=google.com; s=arc-20160816; b=DpPhDHyCjAkitcvzD873AQ7czm5z4A440luOmOV7fswdSEvjAMNTaA89Nbo9dhZAd1 g/VeXfClUa83iKMbd3ZeZEoaLTlqL39AzjyCBTCjVsaA2OZRmx85ZdtMQ0veMfMlSzY8 yHJGcwWKdLEOE7fAxptF9e2XBjZ9Lp9Mt0WhHsPBxhXnO3+7XDEFvf3utvsOfEjlzjkr nG0fL7nF0yfcrXBH0PQr1axvMcp34lfHmKZs7znGChEv455/snl1twQrNfrlAXwjzSOJ YVMHsI1cy6YTmVuKn4SVEl4GMzcVpAjpw4tXBUtCuw3Sg3x7+87jadjDRJcK8t8OXDp1 Eg6Q== 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:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=fG/VKj1nTvoqbS6Ay96z1uyGJh313TsKraI+L0SWTl4=; b=AeONLvheOEkdexmOwsAVYoz6YNVKIKuAeghgJh3RMIFT2dqxCuwrm1D502sYLEY0Za AnHjO2hQDa58wxylbhLgIKZ6SCgIz0fqO7fIrhx7p2oHudXfBHP9K2hgKVpVOyBa3OOt U+wh/zuWjkwnLxmJeXSFzPGj/WzzLVyGbn55Ip0TV5NJRaCHaDOfip/RyPAiEj2DV45B LYoiVOfm7kcovZr8pz7XZgza1r9TKBzR6EPz1TTJRL35pEW1PhhsgWaQ+ge6kgmeb584 Z2Iru8O0XN4IPMV8biyhAtGlb5g4A+Z3sINUjkf5JNkzctWJ1UnNkyu6ccu2N/Ku1UFs NM1A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1si7478788pgc.417.2017.11.09.19.40.02; Thu, 09 Nov 2017 19:40:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755893AbdKJDjQ convert rfc822-to-8bit (ORCPT + 83 others); Thu, 9 Nov 2017 22:39:16 -0500 Received: from mga01.intel.com ([192.55.52.88]:47296 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755821AbdKJDjO (ORCPT ); Thu, 9 Nov 2017 22:39:14 -0500 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Nov 2017 19:39:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,372,1505804400"; d="scan'208";a="1242333012" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga002.fm.intel.com with ESMTP; 09 Nov 2017 19:39:13 -0800 Received: from orsmsx152.amr.corp.intel.com (10.22.226.39) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 9 Nov 2017 19:39:13 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.49]) by ORSMSX152.amr.corp.intel.com ([169.254.8.218]) with mapi id 14.03.0319.002; Thu, 9 Nov 2017 19:39:13 -0800 From: "Brown, Aaron F" To: Colin King , "Kirsher, Jeffrey T" , "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] i40e: remove redundant initialization of read_size Thread-Topic: [Intel-wired-lan] [PATCH] i40e: remove redundant initialization of read_size Thread-Index: AQHTVjasEGv59i9CPkWyOrGCKN5VTqMM9yjwgAAHFUA= Date: Fri, 10 Nov 2017 03:39:12 +0000 Message-ID: <309B89C4C689E141A5FF6A0C5FB2118B8C6EB1A8@ORSMSX101.amr.corp.intel.com> References: <20171105130429.6399-1-colin.king@canonical.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.22.254.139] 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 > From: Brown, Aaron F > Sent: Thursday, November 9, 2017 7:16 PM > To: 'Colin King' ; Kirsher, Jeffrey T > ; 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] i40e: remove redundant initialization > of read_size > > > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf > > Of Colin King > > Sent: Sunday, November 5, 2017 5:04 AM > > To: Kirsher, Jeffrey T ; 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] i40e: remove redundant initialization of > > read_size > > > > From: Colin Ian King > > > > Variable read_size is initialized and this value is never read, it is > > instead set inside the do-loop, hence the intialization is redundant > > and can be removed. Cleans up clang warning: > > > > drivers/net/ethernet/intel/i40e/i40e_nvm.c:390:6: warning: Value stored > > to 'read_size' during its initialization is never read > > > > Signed-off-by: Colin Ian King > > s/intialization/initialization/g Other than that typo, looks fine: Tested-by: Aaron Brown From 1583647357956083563@xxx Fri Nov 10 03:16:51 +0000 2017 X-GM-THRID: 1583233154789670684 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread