virtio: clean up empty lines in .c and .h files

This commit is contained in:
Mateusz Guzik 2020-09-01 21:31:26 +00:00
parent 2140d5b64f
commit 068dbf361a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365091
6 changed files with 0 additions and 8 deletions

View File

@ -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 }
};

View File

@ -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 }
};

View File

@ -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,

View File

@ -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 }
};

View File

@ -206,7 +206,6 @@ TUNABLE_INT("hw.vtscsi.bus_reset_disable", &vtscsi_bus_reset_disable);
static struct virtio_feature_desc vtscsi_feature_desc[] = {
{ VIRTIO_SCSI_F_INOUT, "InOut" },
{ VIRTIO_SCSI_F_HOTPLUG, "Hotplug" },
{ 0, NULL }
};

View File

@ -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_feature_desc[] = {
{ VIRTIO_RING_F_EVENT_IDX, "EventIdx" },
{ VIRTIO_F_BAD_FEATURE, "BadFeature" },
{ VIRTIO_F_VERSION_1, "Version1" },
{ 0, NULL }
};