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:
Tomasz Bursztyka 2019-02-21 10:15:21 +01:00 committed by Kumar Gala
commit 03bfc5dd0f
25 changed files with 60 additions and 99 deletions

View file

@ -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;