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:
Tomasz Bursztyka 2019-02-20 09:40:48 +01:00 committed by Kumar Gala
commit a25f054cbd
27 changed files with 77 additions and 77 deletions

View file

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