From: Mark Stapp Date: Tue, 29 Apr 2025 18:33:26 +0000 (-0400) Subject: lib: remove the EVENT_OFF macro X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=870487f6d261de4c67fdf927d028e7d1cce5429a;p=mirror%2Ffrr.git lib: remove the EVENT_OFF macro Remove the long-deprecated macro. Signed-off-by: Mark Stapp --- diff --git a/lib/frrevent.h b/lib/frrevent.h index 61baf7919c..318e7634fc 100644 --- a/lib/frrevent.h +++ b/lib/frrevent.h @@ -186,15 +186,6 @@ static inline unsigned long timeval_elapsed(struct timeval a, struct timeval b) #define EVENT_FD(X) ((X)->u.fd) #define EVENT_VAL(X) ((X)->u.val) -/* - * Please consider this macro deprecated, and do not use it in new code. - */ -#define EVENT_OFF(thread) \ - do { \ - if ((thread)) \ - event_cancel(&(thread)); \ - } while (0) - /* * Macro wrappers to generate xrefs for all thread add calls. Includes * file/line/function info for debugging/tracing.