net/pkt: Remove _new suffix to net_pkt_write 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 10:01:57 +01:00 committed by Kumar Gala
commit d6d52ce9e5
37 changed files with 128 additions and 131 deletions

View file

@ -128,7 +128,7 @@ static inline void rx_thread(void *ctx, void *unused1, void *unused2)
continue;
}
if (net_pkt_write_new(pkt, (void *)&msg, sizeof(msg))) {
if (net_pkt_write(pkt, (void *)&msg, sizeof(msg))) {
LOG_ERR("Failed to append RX data");
net_pkt_unref(pkt);
continue;