From 52247cfc14e0124ec6a1f9b624cc68a82fe3f375 Mon Sep 17 00:00:00 2001 From: Bjarne von Horn Date: Tue, 12 Dec 2023 12:28:49 +0100 Subject: [PATCH] Remove 2.6 conditionals in example --- examples/mini/mini.c | 8 -------- examples/tty/tty.c | 5 ----- 2 files changed, 13 deletions(-) diff --git a/examples/mini/mini.c b/examples/mini/mini.c index f01934ae..203fde56 100644 --- a/examples/mini/mini.c +++ b/examples/mini/mini.c @@ -32,16 +32,8 @@ #include #include #include - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 34) #include -#endif - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) #include -#else -#include -#endif #include "../../include/ecrt.h" // EtherCAT realtime interface diff --git a/examples/tty/tty.c b/examples/tty/tty.c index d5af9a78..2cbeccb7 100644 --- a/examples/tty/tty.c +++ b/examples/tty/tty.c @@ -32,12 +32,7 @@ #include #include #include - -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) #include -#else -#include -#endif #include "../../include/ecrt.h" // EtherCAT realtime interface