summaryrefslogtreecommitdiffstats
path: root/lib/zlog.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-03-02 20:08:48 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-22 12:50:27 +0100
commit0e3967d766961020c800258755320b2175d0e97a (patch)
tree8db523054f979c6dc2c76dc5a32634ed1610b00f /lib/zlog.h
parentlib: get rid of flog() usage in NB code (diff)
downloadfrr-0e3967d766961020c800258755320b2175d0e97a.tar.xz
frr-0e3967d766961020c800258755320b2175d0e97a.zip
lib: remove flog() macro
It was only used in one place. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/zlog.h')
-rw-r--r--lib/zlog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/zlog.h b/lib/zlog.h
index 140392bae..25c2627f3 100644
--- a/lib/zlog.h
+++ b/lib/zlog.h
@@ -137,8 +137,6 @@ static inline void zlog_ref(const struct xref_logmsg *xref,
#define flog_err_sys(ferr_id, format, ...) \
flog_err(ferr_id, format, ##__VA_ARGS__)
-#define flog(priority, ferr_id, format, ...) \
- zlog(priority, "[EC %u] " format, ferr_id, ##__VA_ARGS__)
extern void zlog_sigsafe(const char *text, size_t len);