summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-12-07 21:32:04 -0700
committerCommit Bot <commit-bot@chromium.org>2021-12-08 18:46:53 +0000
commit85385336e7907ef1b75a71a58f2432cbda0e42dc (patch)
tree6fd876cc260e272028e5822fdc2f647741d4b91a
parent645771f4a10b77f4f8ce4900efc53941be9da59e (diff)
downloadchrome-ec-85385336e7907ef1b75a71a58f2432cbda0e42dc.tar.gz
zephyr: Cleanup boolean shell config support
Cleanup support that was still around for v2.7 branch. BUG=b:205884929 BRANCH=none TEST=zmake testall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I373b000208178d26323ffeca7efdc9e7de468e02 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3322237 Reviewed-by: Tristan Honscheid <honscheid@google.com> Commit-Queue: Tristan Honscheid <honscheid@google.com>
-rw-r--r--zephyr/shim/src/console.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/zephyr/shim/src/console.c b/zephyr/shim/src/console.c
index ef5e20687a..f8b2af8125 100644
--- a/zephyr/shim/src/console.c
+++ b/zephyr/shim/src/console.c
@@ -109,13 +109,8 @@ int uart_shell_stop(void)
return event.signal->result;
}
-#ifdef SHELL_DEFAULT_BACKEND_CONFIG_FLAGS
static const struct shell_backend_config_flags shell_cfg_flags =
SHELL_DEFAULT_BACKEND_CONFIG_FLAGS;
-#else
-/* TODO(b/205884929): Drop after we drop support for v2.7 */
-static const bool shell_cfg_flags;
-#endif
static void shell_init_from_work(struct k_work *work)
{