batman-adv: Drop workaround for Debian's make-kpkg

Message ID 20200131124050.4984-1-sven@narfation.org (mailing list archive)
State Accepted, archived
Delegated to: Simon Wunderlich
Headers
Series batman-adv: Drop workaround for Debian's make-kpkg |

Commit Message

Sven Eckelmann Jan. 31, 2020, 12:40 p.m. UTC
  The make-kpkg is a Debian specific tool to create a debian kernel package.
It is not really maintained anymore and also not used to build the official
Debian kernel packages.

The correct way to have a kernel package under Debian is either to use the
offical packages from the Debian main repository or to build them using the
Linux make target deb-pkg.

There is no reason to ship this workaround when Debian isn't even shipping
make-kpkg with Debian buster and also not in the current Debian bullseye
development snapshot.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 compat.h | 9 ---------
 1 file changed, 9 deletions(-)
  

Patch

diff --git a/compat.h b/compat.h
index b915d914..21bacc5d 100644
--- a/compat.h
+++ b/compat.h
@@ -28,15 +28,6 @@ 
 
 #endif /* LINUX_VERSION_IS_LESS(4, 3, 0) */
 
-#if LINUX_VERSION_IS_LESS(4, 6, 0)
-
-/* workaround for current issues with Debian's make-kpkg */
-#if LINUX_VERSION_IS_GEQ(4, 5, 0)
-#include <uapi/linux/pkt_cls.h>
-#endif
-
-#endif /* LINUX_VERSION_IS_LESS(4, 6, 0) */
-
 #if LINUX_VERSION_IS_LESS(4, 15, 0)
 
 #define batadv_softif_slave_add(__dev, __slave_dev, __extack) \