diff options
author | Sebastian Ott | 2017-03-27 18:22:14 +0200 |
---|---|---|
committer | Martin Schwidefsky | 2017-04-05 07:35:20 +0200 |
commit | 02f5cb9fe851e924775b79f466133be72affdc9a (patch) | |
tree | 70c1b89f41bf9627eb5dee5e2eeb5b3a2e16a406 | |
parent | cab36c262ef9a5ddf3c7ae0f8031b191338b3142 (diff) |
s390/pci: remove unused function
barsize was never used. Get rid of it.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r-- | arch/s390/pci/pci.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 364b9d824be3..f6ed48c17a9d 100644 --- a/arch/s390/pci/pci.c +++ b/arch/s390/pci/pci.c @@ -871,11 +871,6 @@ int zpci_report_error(struct pci_dev *pdev, } EXPORT_SYMBOL(zpci_report_error); -static inline int barsize(u8 size) -{ - return (size) ? (1 << size) >> 10 : 0; -} - static int zpci_mem_init(void) { BUILD_BUG_ON(!is_power_of_2(__alignof__(struct zpci_fmb)) || |