svn commit: r365137 - head/sys/dev/vmd
Mateusz Guzik
mjg at FreeBSD.org
Tue Sep 1 21:48:38 UTC 2020
Author: mjg
Date: Tue Sep 1 21:48:37 2020
New Revision: 365137
URL: https://svnweb.freebsd.org/changeset/base/365137
Log:
vmd: clean up empty lines in .c and .h files
Modified:
head/sys/dev/vmd/vmd.c
head/sys/dev/vmd/vmd_bus.c
Modified: head/sys/dev/vmd/vmd.c
==============================================================================
--- head/sys/dev/vmd/vmd.c Tue Sep 1 21:48:21 2020 (r365136)
+++ head/sys/dev/vmd/vmd.c Tue Sep 1 21:48:37 2020 (r365137)
@@ -316,7 +316,6 @@ vmd_attach(device_t dev)
goto fail;
}
-
sc->vmd_btag = rman_get_bustag(sc->vmd_regs_resource[0]);
sc->vmd_bhandle = rman_get_bushandle(sc->vmd_regs_resource[0]);
@@ -366,7 +365,6 @@ vmd_attach(device_t dev)
min_count - 1);
}
-
/*
* Add the initial resource to the rman.
*/
@@ -424,7 +422,6 @@ vmd_attach(device_t dev)
goto fail;
}
-
return (0);
fail:
@@ -517,7 +514,6 @@ vmd_pcib_route_interrupt(device_t pcib, device_t dev,
{
return (pcib_route_interrupt(pcib, dev, pin));
}
-
static int
vmd_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount,
Modified: head/sys/dev/vmd/vmd_bus.c
==============================================================================
--- head/sys/dev/vmd/vmd_bus.c Tue Sep 1 21:48:21 2020 (r365136)
+++ head/sys/dev/vmd/vmd_bus.c Tue Sep 1 21:48:37 2020 (r365137)
@@ -95,7 +95,7 @@ vmd_bus_attach(device_t dev)
end = rman_get_end(sc->vmd_io_resource);
resource_list_add_next(&dinfo->resources, SYS_RES_IOPORT, start, end,
end - start + 1);
-
+
bus_generic_attach(dev);
return (0);
More information about the svn-src-head
mailing list