From 00605fca486c4b062d7ebff23810c02cdf1d2de0 Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Tue, 1 Sep 2020 21:48:37 +0000 Subject: [PATCH] vmd: clean up empty lines in .c and .h files --- sys/dev/vmd/vmd.c | 4 ---- sys/dev/vmd/vmd_bus.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/dev/vmd/vmd.c b/sys/dev/vmd/vmd.c index c82bfd978bc..2cc6f45bed9 100644 --- a/sys/dev/vmd/vmd.c +++ b/sys/dev/vmd/vmd.c @@ -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: @@ -518,7 +515,6 @@ vmd_pcib_route_interrupt(device_t pcib, device_t dev, int pin) return (pcib_route_interrupt(pcib, dev, pin)); } - static int vmd_pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) diff --git a/sys/dev/vmd/vmd_bus.c b/sys/dev/vmd/vmd_bus.c index 7ec65cc7397..74a6faa812b 100644 --- a/sys/dev/vmd/vmd_bus.c +++ b/sys/dev/vmd/vmd_bus.c @@ -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);