projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3d9f3
)
PCI: pciehp: Remove unused EMI() and HP_SUPR_RM() macros
author
Ani Sinha
<ani@anisinha.ca>
Tue, 21 Apr 2020 03:27:50 +0000
(08:57 +0530)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 23 Apr 2020 18:45:35 +0000
(13:45 -0500)
EMI() and HP_SUPR_RM() are unused, so remove them.
Link:
https://lore.kernel.org/r/1587439673-39652-1-git-send-email-ani@anisinha.ca
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/hotplug/pciehp.h
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pciehp.h
b/drivers/pci/hotplug/pciehp.h
index
ae44f46
..
4fd200d
100644
(file)
--- a/
drivers/pci/hotplug/pciehp.h
+++ b/
drivers/pci/hotplug/pciehp.h
@@
-148,8
+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 HP_SUPR_RM(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_HPS)
-#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)