aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86_64/calgary.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/calgary.h')
-rw-r--r--include/asm-x86_64/calgary.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-x86_64/calgary.h b/include/asm-x86_64/calgary.h
index fbfb50136ed..4e391952424 100644
--- a/include/asm-x86_64/calgary.h
+++ b/include/asm-x86_64/calgary.h
@@ -60,9 +60,4 @@ static inline int calgary_iommu_init(void) { return 1; }
static inline void detect_calgary(void) { return; }
#endif
-static inline unsigned int bus_to_phb(unsigned char busno)
-{
- return ((busno % 15 == 0) ? 0 : busno / 2 + 1);
-}
-
#endif /* _ASM_X86_64_CALGARY_H */