mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
CLEANUP: ssl: Remove useless local variable in tlskeys_list_get_next()
`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.
This commit is contained in:
parent
2c7bb33144
commit
cb8b281c02
@ -6356,10 +6356,8 @@ static int ssl_check_async_engine_count(void) {
|
||||
*/
|
||||
#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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user