summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2020-11-06 14:49:21 -0700
committerCommit Bot <commit-bot@chromium.org>2020-11-07 01:13:48 +0000
commit9af5df80b12b7a4d1462507e23d4b3100f6f371b (patch)
treee88809a0f285908aeb97ebf32cc5ed8eff3eff8a
parentc6157212b521fd9b1c0d22bb6a91f6b57fa55c3c (diff)
downloadchrome-ec-9af5df80b12b7a4d1462507e23d4b3100f6f371b.tar.gz
zephyr: cleanup unused _ZEPHYR_WARN_UNIMPLEMENTED macro
Tasks are implemented now, so this can go away. BUG=b:171741620 BRANCH=none TEST=buildall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I0ce8d680d80eb2ac1bfa3f9ca31143f7f8924af4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2523386 Commit-Queue: Jett Rink <jettrink@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r--include/task.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/task.h b/include/task.h
index 56c7aaf60b..cf72e57680 100644
--- a/include/task.h
+++ b/include/task.h
@@ -12,17 +12,6 @@
#include "compile_time_macros.h"
#include "task_id.h"
-#ifdef CONFIG_ZEPHYR
-#include <sys/printk.h>
-#define _ZEPHYR_WARN_UNIMPLEMENTED(func, args...) \
- printk("WARN: not implemented - %s(%s)\n", #func, #args)
-#define _ZEPHYR_WARN_UNIMPLEMENTED_AND_RETURN(func, rv, ...) \
- ({ \
- _ZEPHYR_WARN_UNIMPLEMENTED(func, ...); \
- rv; \
- })
-#endif
-
/* Task event bitmasks */
/* Tasks may use the bits in TASK_EVENT_CUSTOM_BIT for their own events */
#define TASK_EVENT_CUSTOM_BIT(x) BUILD_CHECK_INLINE(BIT(x), BIT(x) & 0x0ffff)