Skip to content

Commit

Permalink
jsonrpc: remove useless function
Browse files Browse the repository at this point in the history
Just to make clang and travis happy
  • Loading branch information
razvancrainea committed Mar 28, 2018
1 parent 9eb19f8 commit 82796a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modules/jsonrpc/jsonrpc.c
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 82796a5

Please sign in to comment.