backports: remove swiotlb_nr_tbl()
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Nov 2013 20:52:46 +0000 (21:52 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Nov 2013 22:34:58 +0000 (23:34 +0100)
This is not used anywhere.
The Debian Wheezy kernel also includes this function and it conflicted
with backports version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
backport/backport-include/linux/swiotlb.h [deleted file]

diff --git a/backport/backport-include/linux/swiotlb.h b/backport/backport-include/linux/swiotlb.h
deleted file mode 100644 (file)
index d010d0d..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef __BACKPORT_LINUX_SWIOTLB_H
-#define __BACKPORT_LINUX_SWIOTLB_H
-
-#include <linux/version.h>
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28))
-#include_next <linux/swiotlb.h>
-#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,28)) */
-
-#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0))
-#if (RHEL_RELEASE_CODE < RHEL_RELEASE_VERSION(6,4))
-static inline unsigned long swiotlb_nr_tbl(void)
-{
-       return 0;
-}
-#endif
-#endif
-
-#endif /* __BACKPORT_LINUX_SWIOTLB_H */