Date: Tue, 1 Sep 2020 21:31:26 +0000 (UTC) From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r365091 - in head/sys/dev/virtio: . balloon block console network scsi Message-ID: <202009012131.081LVQPC029777@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mjg Date: Tue Sep 1 21:31:26 2020 New Revision: 365091 URL: https://svnweb.freebsd.org/changeset/base/365091 Log: virtio: clean up empty lines in .c and .h files Modified: head/sys/dev/virtio/balloon/virtio_balloon.c head/sys/dev/virtio/block/virtio_blk.c head/sys/dev/virtio/console/virtio_console.c head/sys/dev/virtio/network/if_vtnet.c head/sys/dev/virtio/scsi/virtio_scsi.c head/sys/dev/virtio/virtio.c Modified: head/sys/dev/virtio/balloon/virtio_balloon.c ============================================================================== --- head/sys/dev/virtio/balloon/virtio_balloon.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/balloon/virtio_balloon.c Tue Sep 1 21:31:26 2020 (r365091) @@ -80,7 +80,6 @@ struct vtballoon_softc { static struct virtio_feature_desc vtballoon_feature_desc[] = { { VIRTIO_BALLOON_F_MUST_TELL_HOST, "MustTellHost" }, { VIRTIO_BALLOON_F_STATS_VQ, "StatsVq" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/block/virtio_blk.c ============================================================================== --- head/sys/dev/virtio/block/virtio_blk.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/block/virtio_blk.c Tue Sep 1 21:31:26 2020 (r365091) @@ -114,7 +114,6 @@ static struct virtio_feature_desc vtblk_feature_desc[] { VIRTIO_BLK_F_TOPOLOGY, "Topology" }, { VIRTIO_BLK_F_CONFIG_WCE, "ConfigWCE" }, { VIRTIO_BLK_F_DISCARD, "Discard" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/console/virtio_console.c ============================================================================== --- head/sys/dev/virtio/console/virtio_console.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/console/virtio_console.c Tue Sep 1 21:31:26 2020 (r365091) @@ -146,7 +146,6 @@ static struct virtio_feature_desc vtcon_feature_desc[] { VIRTIO_CONSOLE_F_SIZE, "ConsoleSize" }, { VIRTIO_CONSOLE_F_MULTIPORT, "MultiplePorts" }, { VIRTIO_CONSOLE_F_EMERG_WRITE, "EmergencyWrite" }, - { 0, NULL } }; @@ -511,7 +510,6 @@ vtcon_alloc_virtqueues(struct vtcon_softc *sc) return (ENOMEM); for (i = 0, idx = 0, portidx = 0; i < nvqs / 2; i++, idx += 2) { - if (i == 1) { /* The control virtqueues are after the first port. */ VQ_ALLOC_INFO_INIT(&info[idx], 0, Modified: head/sys/dev/virtio/network/if_vtnet.c ============================================================================== --- head/sys/dev/virtio/network/if_vtnet.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/network/if_vtnet.c Tue Sep 1 21:31:26 2020 (r365091) @@ -287,7 +287,6 @@ static struct virtio_feature_desc vtnet_feature_desc[] { VIRTIO_NET_F_GUEST_ANNOUNCE, "GuestAnnounce" }, { VIRTIO_NET_F_MQ, "Multiqueue" }, { VIRTIO_NET_F_CTRL_MAC_ADDR, "SetMacAddress" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/scsi/virtio_scsi.c ============================================================================== --- head/sys/dev/virtio/scsi/virtio_scsi.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/scsi/virtio_scsi.c Tue Sep 1 21:31:26 2020 (r365091) @@ -206,7 +206,6 @@ TUNABLE_INT("hw.vtscsi.bus_reset_disable", &vtscsi_bus static struct virtio_feature_desc vtscsi_feature_desc[] = { { VIRTIO_SCSI_F_INOUT, "InOut" }, { VIRTIO_SCSI_F_HOTPLUG, "Hotplug" }, - { 0, NULL } }; Modified: head/sys/dev/virtio/virtio.c ============================================================================== --- head/sys/dev/virtio/virtio.c Tue Sep 1 21:30:22 2020 (r365090) +++ head/sys/dev/virtio/virtio.c Tue Sep 1 21:31:26 2020 (r365091) @@ -69,7 +69,6 @@ static struct virtio_ident { { VIRTIO_ID_INPUT, "Input" }, { VIRTIO_ID_VSOCK, "VSOCK Transport" }, { VIRTIO_ID_CRYPTO, "Crypto" }, - { 0, NULL } }; @@ -80,7 +79,6 @@ static struct virtio_feature_desc virtio_common_featur { VIRTIO_RING_F_EVENT_IDX, "EventIdx" }, { VIRTIO_F_BAD_FEATURE, "BadFeature" }, { VIRTIO_F_VERSION_1, "Version1" }, - { 0, NULL } };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009012131.081LVQPC029777>