From 52c0913758013fe79c276a5252124f9f674256d8 Mon Sep 17 00:00:00 2001 From: John Lange Date: Tue, 18 Apr 2023 10:02:48 -0600 Subject: [PATCH] Fix build warnings with unused parameters This fixes some build warnings related to unused parameters Signed-off-by: John Lange --- samples/tmo_shell/src/tmo_ble_demo.c | 3 +-- samples/tmo_shell/src/tmo_wifi.c | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/samples/tmo_shell/src/tmo_ble_demo.c b/samples/tmo_shell/src/tmo_ble_demo.c index e7bceb2..4b4cd52 100644 --- a/samples/tmo_shell/src/tmo_ble_demo.c +++ b/samples/tmo_shell/src/tmo_ble_demo.c @@ -879,9 +879,8 @@ static struct bt_conn_cb conn_callbacks = { .connected = ble_connected, }; -static int tmo_ble_demo_init(const struct device *unused) +static int tmo_ble_demo_init() { - ARG_UNUSED(unused); int err; err = bt_enable(NULL); diff --git a/samples/tmo_shell/src/tmo_wifi.c b/samples/tmo_shell/src/tmo_wifi.c index 6e5e473..692319b 100644 --- a/samples/tmo_shell/src/tmo_wifi.c +++ b/samples/tmo_shell/src/tmo_wifi.c @@ -485,10 +485,8 @@ int tmo_wifi_connect() return ret; } -static int tmo_wifi_shell_init(const struct device *unused) +static int tmo_wifi_shell_init() { - ARG_UNUSED(unused); - context.shell = NULL; context.all = 0U; scan_result = 0U;