git: 4ec4cd727bd0 - stable/13 - bhyve: Address -Wno-unused warnings in atkbd.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Oct 2022 00:51:24 UTC
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4ec4cd727bd0f25240e017faa50da6635b8bc442 commit 4ec4cd727bd0f25240e017faa50da6635b8bc442 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-09-08 22:48:03 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-10-13 00:46:00 +0000 bhyve: Address -Wno-unused warnings in atkbd.c (cherry picked from commit 57d96d8df99129080a3950bf3f8806d9ebf01a64) --- usr.sbin/bhyve/atkbdc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/bhyve/atkbdc.c b/usr.sbin/bhyve/atkbdc.c index a08f58f84b22..42430ad1169e 100644 --- a/usr.sbin/bhyve/atkbdc.c +++ b/usr.sbin/bhyve/atkbdc.c @@ -307,8 +307,8 @@ atkbdc_dequeue_data(struct atkbdc_softc *sc, uint8_t *buf) } static int -atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, - uint32_t *eax, void *arg) +atkbdc_data_handler(struct vmctx *ctx __unused, int vcpu __unused, int in, + int port __unused, int bytes, uint32_t *eax, void *arg) { struct atkbdc_softc *sc; uint8_t buf; @@ -393,8 +393,8 @@ atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, } static int -atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu, int in, int port, - int bytes, uint32_t *eax, void *arg) +atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu __unused, int in, + int port __unused, int bytes, uint32_t *eax, void *arg) { struct atkbdc_softc *sc; int error, retval;