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>
This commit is contained in:
Sebastian Ott 2017-03-27 18:22:14 +02:00 committed by Martin Schwidefsky
parent cab36c262e
commit 02f5cb9fe8
1 changed files with 0 additions and 5 deletions

View File

@ -871,11 +871,6 @@ int zpci_report_error(struct pci_dev *pdev,
} }
EXPORT_SYMBOL(zpci_report_error); EXPORT_SYMBOL(zpci_report_error);
static inline int barsize(u8 size)
{
return (size) ? (1 << size) >> 10 : 0;
}
static int zpci_mem_init(void) static int zpci_mem_init(void)
{ {
BUILD_BUG_ON(!is_power_of_2(__alignof__(struct zpci_fmb)) || BUILD_BUG_ON(!is_power_of_2(__alignof__(struct zpci_fmb)) ||