summaryrefslogtreecommitdiff
path: root/src/tusb.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2025-12-10 14:45:06 +0700
committerhathach <[email protected]>2025-12-10 14:45:06 +0700
commitf1fc4c9c796e25111ad8249a4dab9245f5091c25 (patch)
tree81930d68082612c85bb03f5e3b9829eb6ef6f294 /src/tusb.c
parent0e48fe862292bb7b3e526a4b42bfa588d97d105e (diff)
change tu_fifo_clear()/tu_edpt_stream_clear() from return bool to void
Diffstat (limited to 'src/tusb.c')
-rw-r--r--src/tusb.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tusb.c b/src/tusb.c
index ecdd569c4..fef5b1b75 100644
--- a/src/tusb.c
+++ b/src/tusb.c
@@ -358,19 +358,6 @@ bool tu_edpt_stream_init(tu_edpt_stream_t* s, bool is_host, bool is_tx, bool ove
return true;
}
-bool tu_edpt_stream_deinit(tu_edpt_stream_t *s) {
- (void)s;
- #if OSAL_MUTEX_REQUIRED
- if (s->ff.mutex_wr) {
- osal_mutex_delete(s->ff.mutex_wr);
- }
- if (s->ff.mutex_rd) {
- osal_mutex_delete(s->ff.mutex_rd);
- }
- #endif
- return true;
-}
-
static bool stream_claim(uint8_t hwid, tu_edpt_stream_t *s) {
if (s->is_host) {
#if CFG_TUH_ENABLED