tests/net: arp_input() unref the buffer on success
Since commit-id 1ab40390c9
arp_input()
unrefs the buffer on success (NET_OK) so no need to do it afterward.
Change-Id: I84ab7e8eb07f50d52b329e4c025d88753a5de4db
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
19a321090c
commit
000539ecd2
1 changed files with 0 additions and 2 deletions
|
@ -652,8 +652,6 @@ static bool run_tests(void)
|
|||
break;
|
||||
}
|
||||
|
||||
net_nbuf_unref(buf2);
|
||||
|
||||
/* Yielding so that network interface TX thread can proceed. */
|
||||
k_yield();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue