From cd198535c645b34ca2e5cf0f33df28f1a6341982 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 9 May 2016 23:03:25 +0200 Subject: src: remove unnecessary inline in _snprintf functions These functions are passed as parameter, so we basically get nothing with this. Signed-off-by: Pablo Neira Ayuso --- src/table.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/table.c') diff --git a/src/table.c b/src/table.c index b7c0045..42fe49f 100644 --- a/src/table.c +++ b/src/table.c @@ -457,9 +457,8 @@ int nftnl_table_snprintf(char *buf, size_t size, const struct nftnl_table *t, } EXPORT_SYMBOL_ALIAS(nftnl_table_snprintf, nft_table_snprintf); -static inline int nftnl_table_do_snprintf(char *buf, size_t size, const void *t, - uint32_t cmd, uint32_t type, - uint32_t flags) +static int nftnl_table_do_snprintf(char *buf, size_t size, const void *t, + uint32_t cmd, uint32_t type, uint32_t flags) { return nftnl_table_snprintf(buf, size, t, type, flags); } -- cgit v1.2.3