Skip to content

Commit 81ee157

Browse files
henrikbrixandersenkartben
authored andcommitted
drivers: can: common: mark unused function argument as such
Use ARG_UNUSED() to mark unused function argument. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
1 parent b04d6f8 commit 81ee157

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/can/can_common.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ static void can_tx_default_cb(const struct device *dev, int error, void *user_da
2727
{
2828
struct can_tx_default_cb_ctx *ctx = user_data;
2929

30+
ARG_UNUSED(dev);
31+
3032
ctx->status = error;
3133
k_sem_give(&ctx->done);
3234
}

0 commit comments

Comments
 (0)