From b15d934ec065f45f9ffd58184b6aee310ea4082c Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Fri, 30 Mar 2012 16:44:31 -0700 Subject: [PATCH] compat: fix warning on trace backport for 2.6.29 and older The unregister callback returns void but we are returning something, fix that. Signed-off-by: Luis R. Rodriguez --- include/linux/tracepoint.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index d469235..23eb760 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -97,7 +97,6 @@ DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) static inline void \ unregister_trace_##name(void (*probe)(proto)) \ { \ - return -ENOSYS; \ } \ static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \ { \ -- 2.41.0