Drop support for kernels < 4.4 from 'wrapper/splice.h'
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 18 Nov 2022 22:00:31 +0000 (17:00 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 23 Nov 2022 20:03:55 +0000 (15:03 -0500)
Change-Id: I7dfcb85e2d0195fd21523646cbdf938f526a3c1e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/wrapper/splice.h
src/wrapper/splice.c

index a42bd6fb821dcc36476f947aa2667a2e745672ec..93b6f65099ee413b977f3b0f6f4ae041b5ad18d2 100644 (file)
@@ -17,8 +17,4 @@
 ssize_t wrapper_splice_to_pipe(struct pipe_inode_info *pipe,
                               struct splice_pipe_desc *spd);
 
-#ifndef PIPE_DEF_BUFFERS
-#define PIPE_DEF_BUFFERS 16
-#endif
-
 #endif /* _LTTNG_WRAPPER_SPLICE_H */
index 4292260c32d887d13fe22d21fe32feabacd71a48..51b9673fd606fc1da089936ae7c04c0254ab4802 100644 (file)
@@ -11,8 +11,7 @@
 
 #include <lttng/kernel-version.h>
 
-#if (defined(CONFIG_KALLSYMS) \
-       && (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(4,2,0)))
+#ifdef CONFIG_KALLSYMS
 
 #include <linux/kallsyms.h>
 #include <linux/fs.h>
This page took 0.026837 seconds and 4 git commands to generate.