aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:44:42 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-09-01 21:44:42 +0000
commit6831ac28dcecc6015d61098c8173261bfbdba280 (patch)
tree69dea3fdf2ef7818620282ce4daebad6f1f23a1d /sys
parent7163a84975bdda6a2897d0b371a737d6673f277c (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/xilinx/if_xae.c1
-rw-r--r--sys/dev/xilinx/xlnx_pcib.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/xilinx/if_xae.c b/sys/dev/xilinx/if_xae.c
index 36fdf41b731e..8890a9a04b9e 100644
--- a/sys/dev/xilinx/if_xae.c
+++ b/sys/dev/xilinx/if_xae.c
@@ -1143,7 +1143,6 @@ static device_method_t xae_methods[] = {
DEVMETHOD(miibus_readreg, xae_miibus_read_reg),
DEVMETHOD(miibus_writereg, xae_miibus_write_reg),
DEVMETHOD(miibus_statchg, xae_miibus_statchg),
-
{ 0, 0 }
};
diff --git a/sys/dev/xilinx/xlnx_pcib.c b/sys/dev/xilinx/xlnx_pcib.c
index ee809d1f92dd..0e60786e6320 100644
--- a/sys/dev/xilinx/xlnx_pcib.c
+++ b/sys/dev/xilinx/xlnx_pcib.c
@@ -596,7 +596,6 @@ xlnx_pcib_msi_alloc_msi(device_t dev, device_t child, int count, int maxcount,
found = false;
for (irq = 0; (irq + count - 1) < XLNX_PCIB_MAX_MSI; irq++) {
-
/* Assume the range is valid. */
found = true;