summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2024-10-03 23:27:56 +0200
committerStefan Roese <[email protected]>2024-10-23 06:52:38 +0200
commit307449de9058657eef544043013e8655468b3032 (patch)
tree38875c0eb27743a97885b917bafe1e617a7c1a58 /include
parente3bc477e8038195b54bf50e7915b111e9c357cf0 (diff)
cyclic: make cyclic_run static
The only caller left is schedule(); everybody outside cyclic.c now calls or references schedule(). Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/cyclic.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/cyclic.h b/include/cyclic.h
index e8de616dcd5..c6c463d68e9 100644
--- a/include/cyclic.h
+++ b/include/cyclic.h
@@ -87,14 +87,6 @@ int cyclic_unregister_all(void);
*/
struct hlist_head *cyclic_get_list(void);
-/**
- * cyclic_run() - Interate over all registered cyclic functions
- *
- * Interate over all registered cyclic functions and if the it's function
- * needs to be executed, then call into these registered functions.
- */
-void cyclic_run(void);
-
#else
static inline void cyclic_register(struct cyclic_info *cyclic, cyclic_func_t func,
@@ -106,10 +98,6 @@ static inline void cyclic_unregister(struct cyclic_info *cyclic)
{
}
-static inline void cyclic_run(void)
-{
-}
-
static inline int cyclic_unregister_all(void)
{
return 0;