From 98d920d9cf0b439ea351c60353626946971684f6 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Sat, 8 Oct 2022 11:22:38 -0400 Subject: bhyve: Annotate unused function parameters MFC after: 1 week --- usr.sbin/bhyve/bootrom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/bhyve/bootrom.c') diff --git a/usr.sbin/bhyve/bootrom.c b/usr.sbin/bhyve/bootrom.c index 2406d4539e55..b851d39b485c 100644 --- a/usr.sbin/bhyve/bootrom.c +++ b/usr.sbin/bhyve/bootrom.c @@ -84,8 +84,9 @@ static struct bootrom_var_state { * that the Firmware Volume area is writable and persistent. */ static int -bootrom_var_mem_handler(struct vmctx *ctx, int vcpu, int dir, uint64_t addr, - int size, uint64_t *val, void *arg1, long arg2) +bootrom_var_mem_handler(struct vmctx *ctx __unused, int vcpu __unused, int dir, + uint64_t addr, int size, uint64_t *val, void *arg1 __unused, + long arg2 __unused) { off_t offset; -- cgit v1.2.3