instrumentation: 9p: remove compatibility code
[lttng-modules.git] / instrumentation / events / lttng-module / 9p.h
index bc6e01ad98c061c3afed382d07e8bdd591562bbf..aa7da3092e28be8842e68a2aa905fd055f3b68ab 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
 #undef TRACE_SYSTEM
 #define TRACE_SYSTEM 9p
 
@@ -6,9 +6,7 @@
 #define LTTNG_TRACE_9P_H
 
 #include <probes/lttng-tracepoint-event.h>
-#include <linux/version.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0))
 LTTNG_TRACEPOINT_EVENT(9p_client_req,
 
        TP_PROTO(struct p9_client *clnt, int8_t type, int tag),
@@ -49,7 +47,6 @@ LTTNG_TRACEPOINT_EVENT(9p_protocol_dump,
                ctf_array(unsigned char, line, pdu->sdata, P9_PROTO_DUMP_SZ)
        )
 )
-#endif
 
 #endif /* LTTNG_TRACE_9P_H */
 
This page took 0.040616 seconds and 4 git commands to generate.