From: Sebastian Ott Date: Mon, 27 Mar 2017 16:22:14 +0000 (+0200) Subject: s390/pci: remove unused function X-Git-Tag: v4.12-rc1~139^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=02f5cb9fe851e924775b79f466133be72affdc9a;p=platform%2Fkernel%2Flinux-exynos.git s390/pci: remove unused function barsize was never used. Get rid of it. Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c index 364b9d8..f6ed48c 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)) ||