diff --git a/include/trace/hooks/logbuf.h b/include/trace/hooks/logbuf.h index 7af9122af8ad..f73ad597fc64 100644 --- a/include/trace/hooks/logbuf.h +++ b/include/trace/hooks/logbuf.h @@ -10,7 +10,6 @@ #include #include -#if defined(CONFIG_TRACEPOINTS) && defined(CONFIG_ANDROID_VENDOR_HOOKS) struct printk_ringbuffer; struct printk_record; @@ -21,9 +20,6 @@ DECLARE_HOOK(android_vh_logbuf, DECLARE_HOOK(android_vh_logbuf_pr_cont, TP_PROTO(struct printk_record *r, size_t text_len), TP_ARGS(r, text_len)) -#else -#define trace_android_vh_logbuf(rb, r) -#endif #endif /* _TRACE_HOOK_LOGBUF_H */ /* This part must be outside protection */