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>
This commit is contained in:
parent
b04d6f876c
commit
81ee157876
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ static void can_tx_default_cb(const struct device *dev, int error, void *user_da
|
|||
{
|
||||
struct can_tx_default_cb_ctx *ctx = user_data;
|
||||
|
||||
ARG_UNUSED(dev);
|
||||
|
||||
ctx->status = error;
|
||||
k_sem_give(&ctx->done);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue