aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve/bootrom.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2022-10-08 15:22:38 +0000
committerMark Johnston <markj@FreeBSD.org>2022-10-08 15:33:21 +0000
commit98d920d9cf0b439ea351c60353626946971684f6 (patch)
tree92aae6a56887e5efe045eded751bc1b9694e6a87 /usr.sbin/bhyve/bootrom.c
parent143942f9929a36ec7fe56556d0afe0b2d23e08c4 (diff)
downloadsrc-98d920d9cf0b439ea351c60353626946971684f6.tar.gz
src-98d920d9cf0b439ea351c60353626946971684f6.zip
bhyve: Annotate unused function parameters
MFC after: 1 week
Diffstat (limited to 'usr.sbin/bhyve/bootrom.c')
-rw-r--r--usr.sbin/bhyve/bootrom.c5
1 files changed, 3 insertions, 2 deletions
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;