net/context: Remove token parameter from net_context_send/sendto
And also to the relevant callbacks. That parameter is not used anywhere so it is useless. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
7d97a1871a
commit
03bfc5dd0f
25 changed files with 60 additions and 99 deletions
|
@ -184,7 +184,7 @@ ssize_t zcan_sendto_ctx(struct net_context *ctx, const void *buf, size_t len,
|
|||
can_copy_frame_to_zframe((struct can_frame *)buf, &zframe);
|
||||
|
||||
ret = net_context_sendto(ctx, (void *)&zframe, sizeof(zframe),
|
||||
dest_addr, addrlen, NULL, timeout, NULL,
|
||||
dest_addr, addrlen, NULL, timeout,
|
||||
ctx->user_data);
|
||||
if (ret < 0) {
|
||||
errno = -ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue