Skip to content

Commit 5bd4a8e

Browse files
johnlange2jtbaumann
authored andcommitted
Fix build warnings with unused parameters
This fixes some build warnings related to unused parameters Signed-off-by: John Lange <[email protected]>
1 parent 8c74cf1 commit 5bd4a8e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

samples/tmo_shell/src/tmo_ble_demo.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,8 @@ static struct bt_conn_cb conn_callbacks = {
879879
.connected = ble_connected,
880880
};
881881

882-
static int tmo_ble_demo_init(const struct device *unused)
882+
static int tmo_ble_demo_init()
883883
{
884-
ARG_UNUSED(unused);
885884
int err;
886885

887886
err = bt_enable(NULL);

samples/tmo_shell/src/tmo_wifi.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -485,10 +485,8 @@ int tmo_wifi_connect()
485485
return ret;
486486
}
487487

488-
static int tmo_wifi_shell_init(const struct device *unused)
488+
static int tmo_wifi_shell_init()
489489
{
490-
ARG_UNUSED(unused);
491-
492490
context.shell = NULL;
493491
context.all = 0U;
494492
scan_result = 0U;

0 commit comments

Comments
 (0)