summaryrefslogtreecommitdiffstats
path: root/sys/i4b
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-24 05:46:50 +0000
committerpeter <peter@FreeBSD.org>2002-05-24 05:46:50 +0000
commite6ca5b7fbea96e5c426fb91ea623684c49626855 (patch)
tree08ce4270e069696e872ccf620c60ef3be7a3a4b9 /sys/i4b
parent71681eb308ab43f484646818dca318f98f4440ab (diff)
downloadFreeBSD-src-e6ca5b7fbea96e5c426fb91ea623684c49626855.zip
FreeBSD-src-e6ca5b7fbea96e5c426fb91ea623684c49626855.tar.gz
Fix some low hanging fruit warnings. There are problems in i4b_ing.c
still, but they are due due to some bogosity in netgraph.
Diffstat (limited to 'sys/i4b')
-rw-r--r--sys/i4b/layer1/ihfc/i4b_ihfc_drv.c3
-rw-r--r--sys/i4b/layer1/itjc/i4b_itjc_pci.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/i4b/layer1/ihfc/i4b_ihfc_drv.c b/sys/i4b/layer1/ihfc/i4b_ihfc_drv.c
index db31c8c..14b4c80 100644
--- a/sys/i4b/layer1/ihfc/i4b_ihfc_drv.c
+++ b/sys/i4b/layer1/ihfc/i4b_ihfc_drv.c
@@ -1023,6 +1023,7 @@ ihfc_hdlc_Dwrite (ihfc_sc_t *sc, u_char chan)
S_MBUF = NULL;
}
j1:
+ return;
}
/*---------------------------------------------------------------------------*
@@ -1192,6 +1193,7 @@ ihfc_isac_Dwrite (ihfc_sc_t *sc, u_char chan)
S_ISTA &= ~0x10;
j0:
+ return;
}
/*---------------------------------------------------------------------------*
@@ -1273,6 +1275,7 @@ ihfc_isac_Dread (ihfc_sc_t *sc, u_char chan)
S_ISTA &= ~0xc0;
j1:
+ return;
}
/*---------------------------------------------------------------------------*
diff --git a/sys/i4b/layer1/itjc/i4b_itjc_pci.c b/sys/i4b/layer1/itjc/i4b_itjc_pci.c
index 28bea90..ffbfce2 100644
--- a/sys/i4b/layer1/itjc/i4b_itjc_pci.c
+++ b/sys/i4b/layer1/itjc/i4b_itjc_pci.c
@@ -1408,6 +1408,7 @@ fill_ring:
ctx->filled = filled;
done:
+ return;
}
@@ -1758,6 +1759,7 @@ itjc_attach(device_t dev)
/* FALL TRHU */
case 0:
+ break;
}
itjc_scp[unit] = NULL;
OpenPOWER on IntegriCloud