git: 57d96d8df991 - main - bhyve: Address -Wno-unused warnings in atkbd.c
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Sep 2022 16:37:42 UTC
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=57d96d8df99129080a3950bf3f8806d9ebf01a64 commit 57d96d8df99129080a3950bf3f8806d9ebf01a64 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2022-09-08 22:48:03 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2022-09-29 16:36:44 +0000 bhyve: Address -Wno-unused warnings in atkbd.c MFC after: 2 weeks --- 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;