Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp913584ybi; Fri, 21 Jun 2019 10:15:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+PXeiJhxDUftJOmvhWExY8pX2dl/l2DjBmzAQVLLUSjOCvL3TDCTK1KkjOKfKF5wUgw4d X-Received: by 2002:a17:902:bb85:: with SMTP id m5mr15577576pls.280.1561137327039; Fri, 21 Jun 2019 10:15:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561137327; cv=none; d=google.com; s=arc-20160816; b=rBpM4URoQ7i32V3zXiYVGv684uq/rdQ4dpaSAHqX5SfSu9WuUqpd9jwOut5j6ay5fj omIuV/3zoLgUCtcZCcJxCU4BfF6Gfhdk+gWqFsoyB1u/+IgHplEO4pJ2bY63XC3rAH1T tOa5D/w7j1SDvZYF7ecjTdSBrCi2ByWKYhrrlKk3YPjw2iTLvezkD/eW42RJ3atEhZvz CvibPn/cyfBNa+ZeOm2WbDfmkKN1rQH0dWuDYuZKOAv9hEepV1fZ5EGSnCEDzBGqq9/u yvSPdym45sX8MPtfPj/jmROF5yrVU8jVhuen0fW2h1vpoI4OMEx5yW1DNysgEeMEYFt8 HeKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=qxEeJzLHY0AeUcloFKyhFKP9J1yDvwDSvarBW0sLpWk=; b=k9RP1EZvbPaBBvyKE8xJKnQjA40xqXVjSIGDjGzxiCw075Wk4fCgsXPVuyp6I+ZgIL UbfUXCyB7genIsyiUGT70q+zAgmh6ou5C27tJeNv4EpZRdbzdob5gGon6Vi/6KXyXLz/ zM/7szNpgLc2p3RQ/1V/KuURJQrd+ZXrKh6qw5SLa+LESpdCkicYXDmOi0xaaZXBzOmk lrF0E2Ass93aVKwpJCWA08Ss9pH8vPgiejT6X+nuRuz09QuxoDN3fi4ikLblqGHNLeyu YjvAnZTdZaLpRo+S2afjxpODN93GC1oGFpSe8Tc5COj1A2Fxgu+wUn61U+jUbRITg/pB nkww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=p5YERf40; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si3119529pla.419.2019.06.21.10.15.11; Fri, 21 Jun 2019 10:15:27 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=p5YERf40; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726130AbfFURNr (ORCPT + 99 others); Fri, 21 Jun 2019 13:13:47 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:42912 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfFURNr (ORCPT ); Fri, 21 Jun 2019 13:13:47 -0400 Received: by mail-wr1-f68.google.com with SMTP id x17so7285632wrl.9 for ; Fri, 21 Jun 2019 10:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qxEeJzLHY0AeUcloFKyhFKP9J1yDvwDSvarBW0sLpWk=; b=p5YERf40iErVwSZIGOYNWLyxjEuRXNvD/C2U5Y+E51jvy3Rq/RKLLwPOdqeoC2lL6B tVbknWqPGSwqGmNBSCWCUa8F7rKWJbV1a7DPqZHvI8boVpM+e7aFH/S7NoKXpTHxUCZJ wNekLDjNPqeAZEmYlsvzdXVAozPX/u9XiQnp7EUSdNG38yquIJMQMcKZMaOXeqaNa5F1 0yEQ9T5nVIQa43R+17s5rBS9JgXCTWJAbXEpuPzUK8ewJrtKe1vMCxAnVT02hs2z0DU4 /jv8AY43RGiCYPlt0ozbf+kq01jnXv3cNkg9piIzxT217H0mYYA9YkTrZ9sG0dJqbHN1 GWWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qxEeJzLHY0AeUcloFKyhFKP9J1yDvwDSvarBW0sLpWk=; b=AEubLuZ+T0Jrk5bnKbyHHbOPkh/vp8RfYacfjTtxS6gjvGcffad3gYzozwETDDJgg9 gjUHyWlkWjSlYvE7Pa4pZkKNM6zRXfzxSsxwEL0S1rjevWUUIdtyhHRBnft901hllnus Jjcj/KeKjYhHbPmZ3llSHGQbJqAKW+9HVercVB+pbpXh4FpPRsJG/77QEjwgSpI/+tpT BsKF9YKt+dpatJ/ANu1C+R+N2cJ5N7MGtnzq1pdLL1eAagAlSvM4xA5xdW6ko26zoah2 BYDWbWShSpJuwejSu0LxefMflJo9M1/1LaNqvWiAtFvd1Disf8ipxI3a4SeaY6aTo/XF cxJw== X-Gm-Message-State: APjAAAWXd/XwJu4Gg9GnjZ2BTr2Dm4gFn4Q2WyyW/5ntEk8AMvsesplJ VSV0qQJgkEWCO67YqxmupILT/VdpJIZSnnnlvrVU X-Received: by 2002:a5d:5702:: with SMTP id a2mr55706240wrv.89.1561137226363; Fri, 21 Jun 2019 10:13:46 -0700 (PDT) MIME-Version: 1.0 References: <20190621163921.26188-1-puranjay12@gmail.com> <20190621163921.26188-4-puranjay12@gmail.com> In-Reply-To: <20190621163921.26188-4-puranjay12@gmail.com> From: Bjorn Helgaas Date: Fri, 21 Jun 2019 12:13:34 -0500 Message-ID: Subject: Re: [PATCH 3/3] net: ethernet: atheros: atlx: Remove unused and private PCI definitions To: Puranjay Mohan Cc: Shuah Khan , Bjorn Helgaas , netdev , Linux Kernel Mailing List , linux-kernel-mentees@lists.linuxfoundation.org, Linux PCI Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2019 at 11:40 AM Puranjay Mohan wrote: > > Remove unused private PCI definitions from skfbi.h because generic PCI > symbols are already included from pci_regs.h. > > Signed-off-by: Puranjay Mohan > --- > drivers/net/ethernet/atheros/atlx/atl2.h | 2 -- > drivers/net/ethernet/atheros/atlx/atlx.h | 1 - > 2 files changed, 3 deletions(-) > > diff --git a/drivers/net/ethernet/atheros/atlx/atl2.h b/drivers/net/ethernet/atheros/atlx/atl2.h > index c53b810a831d..1b25d6d747de 100644 > --- a/drivers/net/ethernet/atheros/atlx/atl2.h > +++ b/drivers/net/ethernet/atheros/atlx/atl2.h > @@ -32,7 +32,6 @@ > int ethtool_ioctl(struct ifreq *ifr); > #endif > > -#define PCI_COMMAND_REGISTER PCI_COMMAND > #define CMD_MEM_WRT_INVALIDATE PCI_COMMAND_INVALIDATE > > #define ATL2_WRITE_REG(a, reg, value) (iowrite32((value), \ > @@ -202,7 +201,6 @@ static void atl2_force_ps(struct atl2_hw *hw); > #define MII_DBG_DATA 0x1E > > /* PCI Command Register Bit Definitions */ > -#define PCI_COMMAND 0x04 > #define CMD_IO_SPACE 0x0001 > #define CMD_MEMORY_SPACE 0x0002 > #define CMD_BUS_MASTER 0x0004 These bit definitions (CMD_IO_SPACE, CMD_MEMORY_SPACE, etc) are also generic PCI things that should be replaced with PCI_COMMAND_IO, PCI_COMMAND_MEMORY, etc. I haven't looked at the file, but there are likely more.