`getnext` was only used to fill `ref` at the beginning of the function. Both
have the same type. Replace the parameter name by `ref` to remove the useless
local variable.
(cherry picked from commit
cb8b281c022912820898ae9ebaea868cf1a07d58)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
*/
#if (defined SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB && TLS_TICKETS_NO > 0)
static inline
-struct tls_keys_ref *tlskeys_list_get_next(struct tls_keys_ref *getnext, struct list *end)
+struct tls_keys_ref *tlskeys_list_get_next(struct tls_keys_ref *ref, struct list *end)
{
- struct tls_keys_ref *ref = getnext;
-
/* Get next list entry. */
ref = LIST_NEXT(&ref->list, struct tls_keys_ref *, list);