summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/storage/urio2.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2008-12-11 23:17:48 +0000
committerthompsa <thompsa@FreeBSD.org>2008-12-11 23:17:48 +0000
commit509ce401ea8d49b634f2041c35c407a0d4e7d980 (patch)
treeae90a4775f819938ce76a2ac57532430f074e627 /sys/dev/usb2/storage/urio2.c
parentf0bc2443fb563ef6515d23cfb540d20ed77bba6e (diff)
downloadFreeBSD-src-509ce401ea8d49b634f2041c35c407a0d4e7d980.zip
FreeBSD-src-509ce401ea8d49b634f2041c35c407a0d4e7d980.tar.gz
Remove superfluous return statements from the end of void functions.
Diffstat (limited to 'sys/dev/usb2/storage/urio2.c')
-rw-r--r--sys/dev/usb2/storage/urio2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/usb2/storage/urio2.c b/sys/dev/usb2/storage/urio2.c
index adf70bc..2007e15 100644
--- a/sys/dev/usb2/storage/urio2.c
+++ b/sys/dev/usb2/storage/urio2.c
@@ -293,7 +293,6 @@ urio_write_clear_stall_callback(struct usb2_xfer *xfer)
sc->sc_flags &= ~URIO_FLAG_WRITE_STALL;
usb2_transfer_start(xfer_other);
}
- return;
}
static void
@@ -339,7 +338,6 @@ urio_read_clear_stall_callback(struct usb2_xfer *xfer)
sc->sc_flags &= ~URIO_FLAG_READ_STALL;
usb2_transfer_start(xfer_other);
}
- return;
}
static void
@@ -348,7 +346,6 @@ urio_start_read(struct usb2_fifo *fifo)
struct urio_softc *sc = fifo->priv_sc0;
usb2_transfer_start(sc->sc_xfer[URIO_T_RD]);
- return;
}
static void
@@ -358,7 +355,6 @@ urio_stop_read(struct usb2_fifo *fifo)
usb2_transfer_stop(sc->sc_xfer[URIO_T_RD_CS]);
usb2_transfer_stop(sc->sc_xfer[URIO_T_RD]);
- return;
}
static void
@@ -367,7 +363,6 @@ urio_start_write(struct usb2_fifo *fifo)
struct urio_softc *sc = fifo->priv_sc0;
usb2_transfer_start(sc->sc_xfer[URIO_T_WR]);
- return;
}
static void
@@ -377,7 +372,6 @@ urio_stop_write(struct usb2_fifo *fifo)
usb2_transfer_stop(sc->sc_xfer[URIO_T_WR_CS]);
usb2_transfer_stop(sc->sc_xfer[URIO_T_WR]);
- return;
}
static int
@@ -419,7 +413,6 @@ urio_close(struct usb2_fifo *fifo, int fflags, struct thread *td)
if (fflags & (FREAD | FWRITE)) {
usb2_fifo_free_buffer(fifo);
}
- return;
}
static int
OpenPOWER on IntegriCloud