Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3589228ybz; Mon, 20 Apr 2020 05:54:44 -0700 (PDT) X-Google-Smtp-Source: APiQypKYpgndEFytHlJr5S4YUJ1qp1r6Oy4JX6KAlT8nhfBDZSQvO/DU++6ypBB5AoP8I/zxuQId X-Received: by 2002:a17:906:7b53:: with SMTP id n19mr16424617ejo.244.1587387284412; Mon, 20 Apr 2020 05:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587387284; cv=none; d=google.com; s=arc-20160816; b=RMoIxDwVWZDHBDa0sbdVyLZm3B/duhfp0qQFm0ZqCqPA2vQDa3dchBoNg3alagUckd MXOzjEfy64l8BpfhBczl4lJ31TAn8afn7tHiUMBEiF7VOhEZ3OWGsh2ZIucE0w/RkUkD PZpTFfknooyvYYOn/N8Tt1UbB+lwhrVYc48mgmE5bW6dU0b2KIrksB4LXyP662L1Qo9b lm/jvDbneQGENHFjy5eThW2tsWZEJnagk7GP1dHjObXlbvde3j0dqn6rgob7Vh7jSx+S ZyM7ovSyG3SfOIihXQgq4UYwHXgNAOayHz69NrpF9hAGrTRJyFCMzYyYnCRk5I21Xh/l vKaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=MAn7hGAHod1EC34/XC7X7Tj9BVqJ/NY2c4VQxrVpxx4=; b=K7q0+7VNz1PTCqtzCEzNZOg7oQAycDXOYBFgZVKOqMHYnaEadXPeQE3pIaGNH7M4jS DZlfMZecfJC7leLUmrmSkouGOvn0a2rSTB3VvxYh8vzqz459upoE5J626ltvAYhY629w hQr5UVgAkGFWcVliPneWx3H97i4DdO00jIllDwdEA7fWRX090bisFeidOJhoONnsCH/h diAy+pO1l+HOuaIiZRSCDO3mipJRpU/yaSl4ZjFVCGbwiGMAY+bZ9nnPWrLbvVWx7ZVt 3y/hs4CSvnaNPzngoetyM8inJfUoCQmn/uZ6Kx1C7fYeLuXcIFS6rTAJcGX1vzqbOmYj AP7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anisinha-ca.20150623.gappssmtp.com header.s=20150623 header.b=daZG3iGd; 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 ly8si496749ejb.254.2020.04.20.05.54.21; Mon, 20 Apr 2020 05:54:44 -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=daZG3iGd; 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 S1729379AbgDTMwU (ORCPT + 99 others); Mon, 20 Apr 2020 08:52:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728009AbgDTMwR (ORCPT ); Mon, 20 Apr 2020 08:52:17 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16736C061A0F for ; Mon, 20 Apr 2020 05:52:17 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id g6so4986372pgs.9 for ; Mon, 20 Apr 2020 05:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anisinha-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=MAn7hGAHod1EC34/XC7X7Tj9BVqJ/NY2c4VQxrVpxx4=; b=daZG3iGdMhlZvCUWmVEiIQPAN6UZg2Qus2SFPnwoIfmc+BBFV+I59x3aN+XR7ZiuyC uVXuH2J9d+6o0kUUSx8a9Fdfu9mELZ1pGfqiIvWfctQ+k5DHIayt/Hd80VX4oncWf0bi 7OaYA5rsFeBrcH6cYzSoDQ6FF/+spn5pBNcl4jIiNGjKfg7m3Ff0uD+C5jJ6OLan+EOz B2SqolzEi0REFw2DdkMkTWW5ehMOY7IrcX6L4V0TUI4K0EWQsB0RST5N65TFiGKS709h /5e05xO/i659emkH97AbLRoYSf2/P9AjtfM8ZgTzmVMmgE4nyasT6XiPHuz/nQ9rml6k cWHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MAn7hGAHod1EC34/XC7X7Tj9BVqJ/NY2c4VQxrVpxx4=; b=LfI0QAJ+z7jlHUp6f1yEmgqJkUYhnbJ4cqGRwYheUIEwpHnaRCvsMPmfvhpNDSpmqP FXG2I2HRPbQzNChQ9aMgv+z/yX0BcfaziOsiSuWlXseReyQh5oz1Vnni1ad0FDWSf15A nTP8/COy+ewvcsVAUVJmjqi1gM0tw1suDHRFkagZXubTdX43MemkQmXIQoAivp8ki4U2 KqucSY0Brmusdq3zXhbNE8+f+JSPyH8bTygR1Q7NIrbXsGPHyS2tv26YqM7NHAgnpp1x kWjazNJXx7BiKT+OaYkcTAh5+xlql8Tsc2jzdffyJNhyc3k8doNlcF4HQomd7D4hgZ+p kWvw== X-Gm-Message-State: AGi0PuZH+Pr6soOtFHQ+F+eHpoKumhXFBDyvVhH5+9+dOxxYw/BdDM0W SikMqxFbzDA/f7o18jCHdJ54FtpU+bzVYA== X-Received: by 2002:a62:83c3:: with SMTP id h186mr5992058pfe.192.1587387136218; Mon, 20 Apr 2020 05:52:16 -0700 (PDT) Received: from localhost.localdomain ([203.163.233.7]) by smtp.gmail.com with ESMTPSA id z7sm1052038pff.47.2020.04.20.05.52.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Apr 2020 05:52:15 -0700 (PDT) From: Ani Sinha To: linux-kernel@vger.kernel.org Cc: ani@anirban.org, Ani Sinha , Bjorn Helgaas , Andy Shevchenko , Keith Busch , Frederick Lawler , Denis Efremov , Mika Westerberg , Lukas Wunner , linux-pci@vger.kernel.org Subject: [PATCH] PCI: pciehp: remove unused EMI() macro Date: Mon, 20 Apr 2020 18:21:41 +0530 Message-Id: <1587387114-38475-1-git-send-email-ani@anisinha.ca> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) #define PSN(ctrl) (((ctrl)->slot_cap & PCI_EXP_SLTCAP_PSN) >> 19) -- 2.7.4