svn commit: r365120 - in head/sys/dev/beri/virtio: . network
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:42:23 UTC 2020
Author: mjg
Date: Tue Sep 1 21:42:21 2020
New Revision: 365120
URL: https://svnweb.freebsd.org/changeset/base/365120
Log:
beri: clean up empty lines in .c and .h files
Modified:
head/sys/dev/beri/virtio/network/if_vtbe.c
head/sys/dev/beri/virtio/virtio.c
head/sys/dev/beri/virtio/virtio_block.c
Modified: head/sys/dev/beri/virtio/network/if_vtbe.c
==============================================================================
--- head/sys/dev/beri/virtio/network/if_vtbe.c Tue Sep 1 21:42:08 2020 (r365119)
+++ head/sys/dev/beri/virtio/network/if_vtbe.c Tue Sep 1 21:42:21 2020 (r365120)
@@ -635,7 +635,6 @@ vtbe_attach(device_t dev)
static device_method_t vtbe_methods[] = {
DEVMETHOD(device_probe, vtbe_probe),
DEVMETHOD(device_attach, vtbe_attach),
-
{ 0, 0 }
};
Modified: head/sys/dev/beri/virtio/virtio.c
==============================================================================
--- head/sys/dev/beri/virtio/virtio.c Tue Sep 1 21:42:08 2020 (r365119)
+++ head/sys/dev/beri/virtio/virtio.c Tue Sep 1 21:42:21 2020 (r365120)
@@ -109,7 +109,6 @@ paddr_unmap(void *phys, uint32_t size)
static inline void
_vq_record(uint32_t offs, int i, volatile struct vring_desc *vd,
struct iovec *iov, int n_iov, uint16_t *flags) {
-
if (i >= n_iov)
return;
Modified: head/sys/dev/beri/virtio/virtio_block.c
==============================================================================
--- head/sys/dev/beri/virtio/virtio_block.c Tue Sep 1 21:42:08 2020 (r365119)
+++ head/sys/dev/beri/virtio/virtio_block.c Tue Sep 1 21:42:21 2020 (r365120)
@@ -347,7 +347,6 @@ vq_init(struct beri_vtblk_softc *sc)
return (0);
}
-
static void
vtblk_thread(void *arg)
{
More information about the svn-src-head
mailing list