From 82796a5d02b3b9d1f8b5f6e718067ffbf03b12fe Mon Sep 17 00:00:00 2001 From: Razvan Crainea Date: Wed, 28 Mar 2018 14:07:00 +0300 Subject: [PATCH] jsonrpc: remove useless function Just to make clang and travis happy --- modules/jsonrpc/jsonrpc.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/modules/jsonrpc/jsonrpc.c b/modules/jsonrpc/jsonrpc.c index 9ec270816d0..b0a59b41a93 100644 --- a/modules/jsonrpc/jsonrpc.c +++ b/modules/jsonrpc/jsonrpc.c @@ -41,7 +41,6 @@ static int fixup_jrpc_notify(void** param, int param_no); static int jrpc_request(struct sip_msg *msg, char *_s, char *_m, char *_p, char *_r); static int jrpc_notify(struct sip_msg *msg, char *_s, char *_m, char *_p); static char *jsonrpc_build_cmd(str *method, str *params, int *id); -static inline void jsonrpc_free_cmd(char *cmd); #define JSONRPC_PRINT(_su) \ inet_ntoa(_su->sin.sin_addr), ntohs(_su->sin.sin_port) @@ -540,10 +539,6 @@ static int jrpc_request(struct sip_msg *msg, char *_s, char *_m, char *_p, char return ret; } -static inline void jsonrpc_free_cmd(char *cmd) -{ -} - static char *jsonrpc_build_cmd(str *method, str *params, int *id) { char *s;