aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/amr/amr_pci.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:39:37 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:39:37 +0000
commit4e12cd7f0b40aa2661114b84d2316a9e5e876474 (patch)
tree2d24e279bde2b3d0dfbe80df0384bbbfff584255 /sys/dev/amr/amr_pci.c
parente492d18c3c8660f2a8afb673395e00baec0b6488 (diff)
downloadsrc-4e12cd7f0b40aa2661114b84d2316a9e5e876474.tar.gz
src-4e12cd7f0b40aa2661114b84d2316a9e5e876474.zip
amr: clean up empty lines in .c and .h files
Notes
Notes: svn path=/head/; revision=365111
Diffstat (limited to 'sys/dev/amr/amr_pci.c')
-rw-r--r--sys/dev/amr/amr_pci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/amr/amr_pci.c b/sys/dev/amr/amr_pci.c
index 0c2231b93774..dd7128e372ef 100644
--- a/sys/dev/amr/amr_pci.c
+++ b/sys/dev/amr/amr_pci.c
@@ -155,7 +155,6 @@ amr_find_ident(device_t dev)
for (id = amr_device_ids; id->vendor != 0; id++) {
if ((pci_get_vendor(dev) == id->vendor) &&
(pci_get_device(dev) == id->device)) {
-
/* do we need to test for a signature? */
if (id->flags & AMR_ID_PROBE_SIG) {
sig = pci_read_config(dev, AMR_CFG_SIG, 2);
@@ -167,7 +166,7 @@ amr_find_ident(device_t dev)
}
return (NULL);
}
-
+
static int
amr_pci_probe(device_t dev)
{
@@ -332,7 +331,6 @@ amr_pci_attach(device_t dev)
goto out;
debug(2, "ccb mapped");
-
/*
* Do bus-independant initialisation, bring controller online.
*/
@@ -389,7 +387,6 @@ amr_pci_shutdown(device_t dev)
/* mark ourselves as in-shutdown */
sc->amr_state |= AMR_STATE_SHUTDOWN;
-
/* flush controller */
device_printf(sc->amr_dev, "flushing cache...");
printf("%s\n", amr_flush(sc) ? "failed" : "done");
@@ -706,4 +703,3 @@ amr_ccb_map(struct amr_softc *sc)
return (0);
}
-