alq_open_flags(): mark local td variable as unused

It is passed to the NDINIT() macro which ignores the thread argument
for some time.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2021-10-21 20:39:15 +03:00
parent 661bd70bd7
commit 993446638c

View File

@ -431,7 +431,7 @@ int
alq_open_flags(struct alq **alqp, const char *file, struct ucred *cred, int cmode,
int size, int flags)
{
struct thread *td;
struct thread *td __unused;
struct nameidata nd;
struct alq *alq;
int oflags;