summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-01-29 19:13:10 +0100
committerHelge Deller <deller@gmx.de>2019-02-21 20:37:12 +0100
commit3654f012115db37d31e3628b26b116dc650922ac (patch)
treef261f5fef41d50b7d7160785630919462d54b992 /arch/parisc
parent5007526700a0e13b15ef02c7495786f882d0cc0b (diff)
downloadlinux-0-day-3654f012115db37d31e3628b26b116dc650922ac.tar.gz
linux-0-day-3654f012115db37d31e3628b26b116dc650922ac.tar.xz
parisc: remove the HBA_DATA macro
No need to hide a cast in a macro, especially as all users have cleaner ways to archive the result than blind casting. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/asm/pci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/pci.h b/arch/parisc/include/asm/pci.h
index 00f763688401d..f14465b84de4a 100644
--- a/arch/parisc/include/asm/pci.h
+++ b/arch/parisc/include/asm/pci.h
@@ -66,8 +66,6 @@ struct pci_hba_data {
char gmmio_name[HBA_NAME_SIZE];
};
-#define HBA_DATA(d) ((struct pci_hba_data *) (d))
-
/*
** We support 2^16 I/O ports per HBA. These are set up in the form
** 0xbbxxxx, where bb is the bus number and xxxx is the I/O port