net: yaip: Save some bytes on net_if logic
Instead of runtime checks, let's use NET_ASSERT() to verify that net if
API is properly set.
Change-Id: I8e5c769b8383aa9aec5a5e9600c07e05ca96d517
Signed-off-by:
Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Loading
Please sign in to comment