summaryrefslogtreecommitdiffstats
path: root/src/kernel/xloop_main_4.18.c
diff options
context:
space:
mode:
authorSimon Rettberg2022-03-04 11:58:03 +0100
committerSimon Rettberg2022-03-04 12:05:59 +0100
commit46a0f97d263ecc750a1b107940c6b379d221e661 (patch)
tree2469c3acbc029889285b99e300512167ee78c62e /src/kernel/xloop_main_4.18.c
parentSplit xloop_main into separate files for pre-5.15 and 5.15+ (diff)
downloadxloop-46a0f97d263ecc750a1b107940c6b379d221e661.tar.gz
xloop-46a0f97d263ecc750a1b107940c6b379d221e661.tar.xz
xloop-46a0f97d263ecc750a1b107940c6b379d221e661.zip
Add support for RHEL 8.5
Diffstat (limited to 'src/kernel/xloop_main_4.18.c')
-rw-r--r--src/kernel/xloop_main_4.18.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/kernel/xloop_main_4.18.c b/src/kernel/xloop_main_4.18.c
index 9fe0c70..dde0ad0 100644
--- a/src/kernel/xloop_main_4.18.c
+++ b/src/kernel/xloop_main_4.18.c
@@ -53,8 +53,6 @@
*
*/
-#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
-
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
@@ -96,13 +94,6 @@
#include <linux/uaccess.h>
-/* define RHEL_CHECK_VERSION macro to check CentOS version */
-#if defined(RHEL_RELEASE_CODE) && defined(RHEL_RELEASE_VERSION)
-#define RHEL_CHECK_VERSION(CONDITION) (CONDITION)
-#else
-#define RHEL_CHECK_VERSION(CONDITION) (0)
-#endif
-
static DEFINE_IDR(xloop_index_idr);
static DEFINE_MUTEX(xloop_ctl_mutex);