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:
Tomasz Bursztyka 2017-04-11 10:49:54 +02:00 committed by Jukka Rissanen
commit 000539ecd2

View file

@ -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();