From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4655C43461 for ; Thu, 17 Sep 2020 15:07:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3828520795 for ; Thu, 17 Sep 2020 15:07:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="V9lnPSi4"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="dtM/sJD3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3828520795 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hxlbUov383s+JuE1TvfL660T+ogBgoex2jTrx3SJzzs=; b=V9lnPSi4VR/czHkhaMXGE3O4G 60s+r/E/t+8pym6rWpXYefYRJpfwzz03DkTmcQLww0gK/1Sokj7DDjYV/xDXcQNfEJwhhKDjy+ZHU UiiZcJ0zxys+MdngJBlcUSMypz73Szw3Ee2Kg/d5AN6OYqnfhfz+QZvhR41dNxG7RrcqsmC9jM6gj 7GZLJuo3vITmp8l3cnavTHA4n01VtgqTaqVYgEaWcBp+1M24U8jY/tTzjOqffuw6gWlZPgnFJ3tUy v09rloVzR2HLouXl9H04PzlC5srgvmK99E19oBFxpQVGEk1fZV8n4LIObFv8s6kAulhrIgN2csCt/ e48yllhvw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIvU7-0007nd-Cn; Thu, 17 Sep 2020 15:06:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kIvU5-0007nH-5c for linux-arm-kernel@lists.infradead.org; Thu, 17 Sep 2020 15:06:05 +0000 Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3313222210 for ; Thu, 17 Sep 2020 15:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600355163; bh=8+fGfAsiNIkFfwWzfEoIkpdYXv05xEG/Mk74AEbV3KA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dtM/sJD3trp/6qxR9BtZvoZPH1lUl3GdSHtZ8Rtb4mrFrgaMB6wZ+Eo5EBcbr/Ago 0PBVW/Y0C+IhYk7+r3uuCVqXUM3buZujzwShWOFZ6HmufruRDX7S62BH58i8jDShfI IgGyOCDFE/aKugFcmSdibi0DoMx2mMWr3dYTpG08= Received: by mail-ot1-f51.google.com with SMTP id e23so2189439otk.7 for ; Thu, 17 Sep 2020 08:06:03 -0700 (PDT) X-Gm-Message-State: AOAM532XV0U4SQCyX1tJPYou/Pu6hh9gfasulcfWDHEUJv3+dV4tasFN 9UKdHe8V28e+5oa7O8BXVe5smEHoOW9g2AbIqg== X-Google-Smtp-Source: ABdhPJzgXW4cPWg9VRoYlcrlEIdDXTPw7/10UjC2KXcBPOjIop+H0uxfDb0v0+9REEInvtLv6LwJTn99swSsEJaYDGE= X-Received: by 2002:a05:6830:1008:: with SMTP id a8mr18556801otp.107.1600355162516; Thu, 17 Sep 2020 08:06:02 -0700 (PDT) MIME-Version: 1.0 References: <20200917071758.1915565-1-liushixin2@huawei.com> In-Reply-To: <20200917071758.1915565-1-liushixin2@huawei.com> From: Rob Herring Date: Thu, 17 Sep 2020 09:05:50 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -next] PCI: dwc: Remove set but not used variable To: Liu Shixin X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_110605_304211_EEA7E036 X-CRM114-Status: GOOD ( 10.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lorenzo Pieralisi , PCI , "linux-kernel@vger.kernel.org" , Kishon Vijay Abraham I , Bjorn Helgaas , linux-omap , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Sep 17, 2020 at 12:55 AM Liu Shixin wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/pci/controller/dwc/pci-dra7xx.c: In function 'dra7xx_pcie_establish_link': > drivers/pci/controller/dwc/pci-dra7xx.c:142:6: warning: unused variable 'exp_cap_off' > [-Wunused-variable] > > After 3af45d34d30c ("PCI: dwc: Centralize link gen setting"), variable 'exp_cap_off' > is never used. Remove it to avoid build warning. Already fixed in next. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel