[nft PATCH 2/8] json: Drop unused symbolic_constant_json() stub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This seems like a left-over from day 1: Said function is static in
json.c, so there is no point in providing a stub when compiling with
JSON disabled.

Signed-off-by: Phil Sutter <phil@xxxxxx>
---
 include/json.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/json.h b/include/json.h
index 99b676446516b..663375489bc51 100644
--- a/include/json.h
+++ b/include/json.h
@@ -164,12 +164,6 @@ STMT_PRINT_STUB(tproxy)
 #undef EXPR_PRINT_STUB
 #undef JSON_PRINT_STUB
 
-static inline json_t *symbolic_constant_json(const struct symbol_table *tbl,
-					     const struct expr *expr)
-{
-	return NULL;
-}
-
 static inline int do_command_list_json(struct netlink_ctx *ctx, struct cmd *cmd)
 {
 	return -1;
-- 
2.19.0




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux