From: Philippe Proulx Date: Wed, 9 Nov 2016 17:32:12 +0000 (-0500) Subject: barectf.c: remove unused _packet_is_full() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=3b41525c32976da524eb192a6cccccbe935ba31c;p=deliverable%2Fbarectf.git barectf.c: remove unused _packet_is_full() Signed-off-by: Philippe Proulx --- diff --git a/barectf/templates.py b/barectf/templates.py index bf00f27..070c666 100644 --- a/barectf/templates.py +++ b/barectf/templates.py @@ -403,12 +403,6 @@ void _write_cstring(struct {prefix}ctx *ctx, const char *src) ctx->at += _BYTES_TO_BITS(sz); }} -static inline -int _packet_is_full(struct {prefix}ctx *ctx) -{{ - return {prefix}packet_is_full(ctx); -}} - static int _reserve_event_space(struct {prefix}ctx *ctx, uint32_t ev_size) {{