Received: by 10.223.164.202 with SMTP id h10csp1007193wrb; Thu, 9 Nov 2017 19:16:51 -0800 (PST) X-Google-Smtp-Source: ABhQp+RrDJApbvE75S93oR9iOj/wKB+J8cLdqgpeL22LrGYkAy1P8+60wAowY1sWD3kBEHqN2NMb X-Received: by 10.159.197.67 with SMTP id d3mr2617022plo.433.1510283811833; Thu, 09 Nov 2017 19:16:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510283811; cv=none; d=google.com; s=arc-20160816; b=jK6u+diudex558yDoOBeYsnEeCv3R0qdhYv19u3xbo+EUcZvswPxWUriDtFScWjT+M TRwVkzA0JZViZKftoi2aXSY0ud6UtKeQzvcx2vj4UAE+FBlG2u5hQrli+MXq0brhDUi5 TQbfd2/k3sPR2KVntTa3jR64DwmrmsJzoaigeKggV2j0kN9oJ7s9GWIJLHqO8rB38WGk 3fjheappdLP/jQ6pZBkuVeB8i4zuVBzA2y0MRxgBwh/nYMjhANav69eAF/lrXWUsiwU9 p0AGqfxi3PWhfmioh5RZbGm/KtUS9MsgS31VcEWDrdjTwcWt9sASNpwUQIcSgb41K1KA wNTw== 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:arc-authentication-results; bh=jf4s2xykvAe2rQrIb5+MWTOo154Ko+vhROPbY5efbiI=; b=0sl77u7q2RqSAv1Zadjc8u69gUp+QIBFdT2VByRSjoHM+nhow1mE4f86qSCUn+xnbw x3bAmZItHnkIUSUfP7w0GbJW2sm7NzorrzP6Ray9qONh7bONxgBrhhRYOvwENIrdpPkI 9o602vlNDM+w9bIJQ4O7u5k0qNPT/hisT4esIMEYtgI44X7HfGs+q4mYcXr7oqN7mpCY JbWs0+TYHvTJNwot55lVe+X0LFjhmVCjc6qh0rt76oRwt6RW14WWZYJfMcOtnXAm9UiV FtcJoBP2pvqI5CQfw35DXJcU0rAtE6JcLiHjJnWDDbjit/yQeJOo5gIQgzCHJYGDn523 bBtw== 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 s9si7858713pgr.631.2017.11.09.19.16.39; Thu, 09 Nov 2017 19:16:51 -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 S964769AbdKJDQH convert rfc822-to-8bit (ORCPT + 83 others); Thu, 9 Nov 2017 22:16:07 -0500 Received: from mga07.intel.com ([134.134.136.100]:4057 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755701AbdKJDQF (ORCPT ); Thu, 9 Nov 2017 22:16:05 -0500 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP; 09 Nov 2017 19:16:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,372,1505804400"; d="scan'208";a="402015" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by FMSMGA003.fm.intel.com with ESMTP; 09 Nov 2017 19:16:04 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.49]) by ORSMSX108.amr.corp.intel.com ([169.254.2.242]) with mapi id 14.03.0319.002; Thu, 9 Nov 2017 19:16:04 -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: AQHTVjasEGv59i9CPkWyOrGCKN5VTqMM9yjw Date: Fri, 10 Nov 2017 03:16:03 +0000 Message-ID: <309B89C4C689E141A5FF6A0C5FB2118B8C6EB14D@ORSMSX101.amr.corp.intel.com> References: <20171105130429.6399-1-colin.king@canonical.com> In-Reply-To: <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: 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 From 1583233154789670684@xxx Sun Nov 05 13:33:16 +0000 2017 X-GM-THRID: 1583233154789670684 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread