Commit 02f5cb9f authored by Sebastian Ott's avatar Sebastian Ott Committed by Martin Schwidefsky

s390/pci: remove unused function

barsize was never used. Get rid of it.
Signed-off-by: default avatarSebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent cab36c26
...@@ -871,11 +871,6 @@ int zpci_report_error(struct pci_dev *pdev, ...@@ -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)) ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment