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:
parent
a15654980e
commit
d6d52ce9e5
37 changed files with 128 additions and 131 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue