Skip to content

Commit

Permalink
Fix build warnings with unused parameters
Browse files Browse the repository at this point in the history
This fixes some build warnings related to unused parameters

Signed-off-by: John Lange <John.Lange2@T-Mobile.com>
  • Loading branch information
johnlange2 authored and jtbaumann committed Apr 18, 2023
1 parent 8c74cf1 commit 5bd4a8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions samples/tmo_shell/src/tmo_ble_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 1 addition & 3 deletions samples/tmo_shell/src/tmo_wifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5bd4a8e

Please sign in to comment.