diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 35d54028c2..45df68f8c0 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1939,11 +1939,6 @@ static struct iax2_user *find_user(const char *name) { return ao2_find(users, name, OBJ_KEY); } -static inline struct iax2_user *user_ref(struct iax2_user *user) -{ - ao2_ref(user, +1); - return user; -} static inline struct iax2_user *user_unref(struct iax2_user *user) { diff --git a/main/dsp.c b/main/dsp.c index d00b333f5a..eecc8dd22b 100644 --- a/main/dsp.c +++ b/main/dsp.c @@ -330,16 +330,6 @@ static inline void goertzel_sample(goertzel_state_t *s, short sample) } } -static inline void goertzel_update(goertzel_state_t *s, short *samps, int count) -{ - int i; - - for (i = 0; i < count; i++) { - goertzel_sample(s, samps[i]); - } -} - - static inline float goertzel_result(goertzel_state_t *s) { goertzel_result_t r;