net/pkt: Remove _new suffix to net_pkt_read functions
Suffix is now useless, as these functions are now the only ones. Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
f8a091104e
commit
a25f054cbd
27 changed files with 77 additions and 77 deletions
|
@ -236,7 +236,7 @@ static ssize_t zcan_recvfrom_ctx(struct net_context *ctx, void *buf,
|
|||
recv_len = max_len;
|
||||
}
|
||||
|
||||
if (net_pkt_read_new(pkt, (void *)&zframe, sizeof(zframe))) {
|
||||
if (net_pkt_read(pkt, (void *)&zframe, sizeof(zframe))) {
|
||||
errno = EIO;
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue