mirror of
https://github.com/opnsense/src.git
synced 2026-04-02 16:05:17 -04:00
virtio console: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
94b098882f
commit
4d78ef3e81
1 changed files with 3 additions and 3 deletions
|
|
@ -616,7 +616,7 @@ vtcon_ctrl_event_enqueue(struct vtcon_softc *sc,
|
|||
struct sglist_seg segs[2];
|
||||
struct sglist sg;
|
||||
struct virtqueue *vq;
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
vq = sc->vtcon_ctrl_rxvq;
|
||||
|
||||
|
|
@ -649,7 +649,7 @@ static void
|
|||
vtcon_ctrl_event_requeue(struct vtcon_softc *sc,
|
||||
struct virtio_console_control *control)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
bzero(control, VTCON_CTRL_BUFSZ);
|
||||
|
||||
|
|
@ -1048,7 +1048,7 @@ vtcon_port_create_buf(struct vtcon_port *port)
|
|||
static void
|
||||
vtcon_port_requeue_buf(struct vtcon_port *port, void *buf)
|
||||
{
|
||||
int error;
|
||||
int error __diagused;
|
||||
|
||||
error = vtcon_port_enqueue_buf(port, buf, VTCON_BULK_BUFSZ);
|
||||
KASSERT(error == 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue