summaryrefslogtreecommitdiffstats
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-11-27 21:49:00 +0100
committerDavid Lamparter <equinox@diac24.net>2019-12-14 12:41:19 +0100
commiteb51bb9b1fa2fbb339c583cb5b479246b0821dcc (patch)
tree5124272233040bf909cbd3d5e58832a72107d558 /lib/buffer.c
parentlib/prefix: flip the bitrot compost (diff)
downloadfrr-eb51bb9b1fa2fbb339c583cb5b479246b0821dcc.tar.xz
frr-eb51bb9b1fa2fbb339c583cb5b479246b0821dcc.zip
lib: random unused bits cleanup
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib/buffer.c')
-rw-r--r--lib/buffer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/buffer.c b/lib/buffer.c
index bb2cdb7e5..766b9791a 100644
--- a/lib/buffer.c
+++ b/lib/buffer.c
@@ -114,12 +114,6 @@ char *buffer_getstr(struct buffer *b)
return s;
}
-/* Return 1 if buffer is empty. */
-int buffer_empty(struct buffer *b)
-{
- return (b->head == NULL);
-}
-
/* Clear and free all allocated data. */
void buffer_reset(struct buffer *b)
{