On Wed, 30 Nov 2022 16:56:37 +0100 Maxime Coquelin <maxime.coque...@redhat.com> wrote:
> + if (status != 0 || !dev->scvq) > + goto out; > + > + status = virtio_send_command(&dev->scvq->cq, (struct virtio_pmd_ctrl > *)hdr, dlen, nb_dlen); > +out: Maybe I am looking at the diff only, and not seeing something but. This looks like just an if statement, why the goto here?