diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-04-07 00:34:38 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-05-14 11:29:55 -0400 |
commit | 2315266628a886df58560e91c555d1fcb455c7c9 (patch) | |
tree | 404e8a59c90efdeed3ac6cc9c70a80c40f44c7be /firmware/kernel/include/mutex.h | |
parent | dafc8e5904f6547a306096b67e9b199f6ddfdb3d (diff) | |
download | rockbox-2315266628a886df58560e91c555d1fcb455c7c9.tar.gz rockbox-2315266628a886df58560e91c555d1fcb455c7c9.zip |
kernel: remove unused function mutex_test()
No longer needed since the only user was in the Archos code.
Change-Id: I763f58050c70f2bb1d8cc0a044c63698f3157a8d
Diffstat (limited to 'firmware/kernel/include/mutex.h')
-rw-r--r-- | firmware/kernel/include/mutex.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/kernel/include/mutex.h b/firmware/kernel/include/mutex.h index 4778eb7f11..816d8040cb 100644 --- a/firmware/kernel/include/mutex.h +++ b/firmware/kernel/include/mutex.h | |||
@@ -36,10 +36,5 @@ struct mutex | |||
36 | extern void mutex_init(struct mutex *m); | 36 | extern void mutex_init(struct mutex *m); |
37 | extern void mutex_lock(struct mutex *m); | 37 | extern void mutex_lock(struct mutex *m); |
38 | extern void mutex_unlock(struct mutex *m); | 38 | extern void mutex_unlock(struct mutex *m); |
39 | #ifndef HAVE_PRIORITY_SCHEDULING | ||
40 | /* Deprecated but needed for now - firmware/drivers/ata_mmc.c */ | ||
41 | static inline bool mutex_test(const struct mutex *m) | ||
42 | { return m->blocker.thread != NULL; } | ||
43 | #endif /* HAVE_PRIORITY_SCHEDULING */ | ||
44 | 39 | ||
45 | #endif /* MUTEX_H */ | 40 | #endif /* MUTEX_H */ |