Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2072332ybz; Thu, 23 Apr 2020 11:05:09 -0700 (PDT) X-Google-Smtp-Source: APiQypLMf0+TrjiMH3h+iif0P1Xi65Ols5W4FuKHIwPE2nolQXZeojhtBQQVCdcZTimFJFDZkRMI X-Received: by 2002:a17:906:70f:: with SMTP id y15mr3816484ejb.276.1587665109035; Thu, 23 Apr 2020 11:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587665109; cv=none; d=google.com; s=arc-20160816; b=K/d5rHz3McwJQJCmm9Cb59mmQ4x36XAesrdK5unlIvkYuIhCCHN+micFRKzG5ZeNDi e10YeLDaFCXdjDPOo2lLxwkqGWOtBKIssmXE0LpdWkIvsUVww+uYN2r+hoWF1jL1ogeQ jJ3v8bQ97yvLFG3Ip39ghPJEWdu1Gg1u/0BgQJJ23Lpk25TyBDhg3tWwVhk4pTPMkNlZ k7JSRgQRflUuCHPMyQWN9NfeMTMAJrK2DFO96Z226ycZ1m+k/fU/AS7+g7F4rhzhiAHa j0yLRBHsFggNQzr2PTCrEeDzpLnBZWj41qlZhVDFyMn2U++XSaQtiT6ZDpDEFa5HW/pa 1dqQ== 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=4vFvQJ+X9x2fkOsaxQlxkegYOOkfdjHsu+VNUmji7qM=; b=ZGEGFhpM+HtrK58HBTXa1nWdEnJQrsvw0eYY5xfinjHMbO+7OADophiKZ3N2aIdZvy wvK45x+wWN7Xmz6hPG3c8ak808SBCZfjmUxROMZnG2WBnf3nYxnAp844IRlwLuptBs5R 9A3TuV4cU4zculzIlUApbYQy3ZApKPUqPgW9TyZ+aNt3QotbPb9409RvFw+l+RlcqamQ 481qJdvaQ6xPw4ORFoPFnY4b+R8HbWPK5Z2InnFPszcSqaThcKuElmHOqwzMc8idmNDN c3uSpmn/Ye2SkXt19hvy56LscrV+B88zBecSEkYk4wmCnWI772OBZsOUAPEe4NUR5F3L epmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anisinha-ca.20150623.gappssmtp.com header.s=20150623 header.b=vkzbFlKN; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bs1si1544468edb.200.2020.04.23.11.04.44; Thu, 23 Apr 2020 11:05:09 -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=@anisinha-ca.20150623.gappssmtp.com header.s=20150623 header.b=vkzbFlKN; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730026AbgDWSCA (ORCPT + 99 others); Thu, 23 Apr 2020 14:02:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729901AbgDWSCA (ORCPT ); Thu, 23 Apr 2020 14:02:00 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE9BCC09B042 for ; Thu, 23 Apr 2020 11:01:59 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id f13so7858857wrm.13 for ; Thu, 23 Apr 2020 11:01:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anisinha-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4vFvQJ+X9x2fkOsaxQlxkegYOOkfdjHsu+VNUmji7qM=; b=vkzbFlKNxWQfoNjGjP0cN0x+tAOzVkVduiUCVecHWhVGJQZl0dbe5CO367tCplapfV 2kDEkUunHthWlNCDEH5rLiC2cmHULSn3na8remXr6R9gQWZT2A+S+4Rw6HE1+q2/dVI1 uajUo7ezsZ5ZGHtNDHPxFyhKGJ3vpVRgxRX59H3B1G8ZqB6XgymkQaTcth4blxSISb7N 1DMmqHEfhZT2k6b9DqCS0CF0tvSICTxhv4+Qy/bWUT+6r7y22TtyVTnW//tsn5CTXhzj s8arD2itkmSubXpIclsmY6MVoVNJ3KyrmJnG8C9nTxPhQEpc8Ka1gWZi6I+6iuRIDl2S 19GA== 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=4vFvQJ+X9x2fkOsaxQlxkegYOOkfdjHsu+VNUmji7qM=; b=DyzA7Dh9Mypotg77CGsebVNmE8Y53mrnsdqIqHDJj68DEmd8jD1zjoyA6BHpvTUfsA pKQofhoMofww8g/Kjolj+0nNPTAeAR4d4WEOjPA0MVZByucnqIEFYzWukQd32yMb6/QA 8ny1S3HLHaKwmUSM34SJeinGUAsW+pVpStCtB3q+pANYr98EacAnz8h+qeHRlLPuRvZh 0NvihGpY8E61PQXr5UCY9SJvBHAdnEp8rmbS1dUMh9b+afdVoHYTWLn+AokSgxLxrEPy MvWjsq4aiHp0sxfq/fF0rzhGXptUmraGVt6KRE/QQxbOoElBON+yXJ+QpPKQvX2fW9Ra 9/sQ== X-Gm-Message-State: AGi0PuZPQ1q4i/2Ocg0Bfz6C9IOcRyHtUH96CkiTnkkNkFv14GChSmz2 xjRBrWde53e87AzqBS4jDb7RyCwfhKtl2uXf3yE/bg== X-Received: by 2002:a5d:660d:: with SMTP id n13mr6029719wru.369.1587664918339; Thu, 23 Apr 2020 11:01:58 -0700 (PDT) MIME-Version: 1.0 References: <1587387114-38475-1-git-send-email-ani@anisinha.ca> <20200420175734.GA53587@google.com> In-Reply-To: <20200420175734.GA53587@google.com> From: Ani Sinha Date: Thu, 23 Apr 2020 23:31:47 +0530 Message-ID: Subject: Re: [PATCH] PCI: pciehp: remove unused EMI() macro To: Bjorn Helgaas Cc: linux-kernel@vger.kernel.org, Ani Sinha , Andy Shevchenko , Keith Busch , Frederick Lawler , Denis Efremov , Mika Westerberg , Lukas Wunner , linux-pci@vger.kernel.org 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 Mon, Apr 20, 2020 at 11:27 PM Bjorn Helgaas wrote: > > Hi Ani, > > On Mon, Apr 20, 2020 at 06:21:41PM +0530, Ani Sinha wrote: > > EMI() macro seems to be unused. So removing it. Thanks > > Mika Westerberg for > > pointing it out. > > > > Signed-off-by: Ani Sinha > > --- > > drivers/pci/hotplug/pciehp.h | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h > > index 5747967..4fd200d 100644 > > --- a/drivers/pci/hotplug/pciehp.h > > +++ b/drivers/pci/hotplug/pciehp.h > > @@ -148,7 +148,6 @@ struct controller { > > #define MRL_SENS(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_MRLSP) > > #define ATTN_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_AIP) > > #define PWR_LED(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_PIP) > > -#define EMI(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_EIP) > > Thanks for the patch! Can you squash it together with the HP_SUPR_RM > removal (and also check for any other unused ones at the same time)? > For trivial things like this, I'd rather merge one patch that removes > several unused things at once instead of several patches. > > I like the subject of this one ("Removed unused ..."), but please > capitalize it as you did for the HP_SUPR_RM one so it matches previous > history. I have sent an updated patch few days back. ani