Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp163828ybk; Fri, 8 May 2020 22:35:39 -0700 (PDT) X-Google-Smtp-Source: APiQypLmH7uyOJRc9AkNiWJlesOlXPMi/KOUOPOuCBFL/dvTYLLWnre2QZnPQYL7qMV1d4hogWQx X-Received: by 2002:a17:906:1e47:: with SMTP id i7mr4953689ejj.61.1589002539259; Fri, 08 May 2020 22:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589002539; cv=none; d=google.com; s=arc-20160816; b=qnnjpdoRPgm5OGQu7tonnB5AmGRS3dIwgKQ9WJtC1AD0Km2E2SGeSWCfzLEQxJWM4E 7BDVJKAv+2SUO4DIdd1sobZYC10JXWaOQylfkJWUfmc7aJfuX0v9Sc6s2V+1DnPLkQYQ w2oRntHdfUS8A1VZ64aWRHkPc+uxJtjuYT+R4lusk2czMSRGWry7L8pfbjkX0RZgnFht 0BhE2ZUS4AQABTTDLY/pLNcNibvZ/ZiHSf6MHEAPSIrpeqRdzJeWjFVLCtiiOc+wDGC3 R07f3q+QEJV2vNxtqpb87o6qA09diI26HYhDiwhLwiXS8aAGCaFNetxoqphoVd6Rj7nm Dxvg== 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:subject:cc:to:from:date :dkim-signature; bh=ZOQdYISF/yhCQ6l0O0OK49xMxGY8mc7In/coXH314gU=; b=ZfznnCyVrikOiw/r6UlTa8JAXmqkS6Yn7zkZ8N+I4RdNSPS6EbiyP4StJuXk8VWu4E WZHz/QMLzVgvXbh7eSRcvcPNm/nZanu7kHmowNh4ocCszPVWUQ2UPhsnjlElbmeATig2 GThTaO2TVrzfxCswta2EwuiE/Z7ETe8IV1L49nk4OwZ+/dYw+Qc+vzKMl7Ds+34e7PIs OYYP/X+ef1yEdLhG7LFdGmwjZMW//s9lVQUchKNMABnjesN914BEdFybAVWd/nEopCWc XVoXSUoFulofC4Nq3SW8AVJxT+QrPu/GbskH+cLbC8DimQmpl55FwML1LIB9I30B/H9S tpBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OUkI++yE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si2217095ejx.230.2020.05.08.22.35.16; Fri, 08 May 2020 22:35:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OUkI++yE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728850AbgEIFcF (ORCPT + 99 others); Sat, 9 May 2020 01:32:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:57030 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbgEIFcE (ORCPT ); Sat, 9 May 2020 01:32:04 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3B2D321775; Sat, 9 May 2020 05:32:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589002324; bh=9ZDCH7nd9Jy4YDZC64EIbgljIMh4xe8U/frqthy/qmk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OUkI++yE35vmcQMR1AbHbsLXYGnYXRdpUbD0yLcL1aOOx03QwRgerAOT2SRgyTIye Ox1jVgdxVzXUC+k5B0kcNWsvQD81R1o5vdfwSGvEiG8NgteE67Y9VYovK/ixQ5/M4S EY2y63NUTXxx2uXAtelFXTs6HlhrPIWTPgtkm3go= Date: Fri, 8 May 2020 22:32:02 -0700 From: Jakub Kicinski To: Samuel Zou Cc: , , , , , , Subject: Re: [PATCH -next] net: dsa: sja1105: remove set but not used variable 'prev_time' Message-ID: <20200508223202.09e7849d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1588939255-58038-1-git-send-email-zou_wei@huawei.com> References: <1588939255-58038-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 May 2020 20:00:55 +0800 Samuel Zou wrote: > Fixes gcc '-Wunused-but-set-variable' warning: >=20 > drivers/net/dsa/sja1105/sja1105_vl.c:468:6: warning: variable =E2=80=98pr= ev_time=E2=80=99 set but not used [-Wunused-but-set-variable] > u32 prev_time =3D 0; > ^~~~~~~~~ >=20 > Reported-by: Hulk Robot > Signed-off-by: Samuel Zou Applied, thank you!