Skip to content

Commit aaec242

Browse files
moonlight83340dkalowsk
authored andcommitted
tests: net: socket: net_mgmt: mark unused function argument
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Gaetan Perrot <gaetan.perrot@spacecubics.com>
1 parent f6b35e6 commit aaec242

File tree

1 file changed

+2
-0
lines changed
  • tests/net/socket/net_mgmt/src

1 file changed

+2
-0
lines changed

tests/net/socket/net_mgmt/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ static int eth_fake_send(const struct device *dev,
8787

8888
static int eth_fake_get_total_bandwidth(struct eth_fake_context *ctx)
8989
{
90+
ARG_UNUSED(ctx);
9091
return 100 * 1000 * 1000 / 8;
9192
}
9293

@@ -221,6 +222,7 @@ static int eth_fake_get_config(const struct device *dev,
221222

222223
static enum ethernet_hw_caps eth_fake_get_capabilities(const struct device *dev)
223224
{
225+
ARG_UNUSED(dev);
224226
return ETHERNET_LINK_10BASE | ETHERNET_LINK_100BASE | ETHERNET_QAV |
225227
ETHERNET_PROMISC_MODE | ETHERNET_PRIORITY_QUEUES;
226228
}

0 commit comments

Comments
 (0)