net: vlan: Remove useless assert
The assert is not needed and it was in wrong place anyway. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
2416cde90e
commit
1e15eec64f
1 changed files with 0 additions and 1 deletions
|
@ -136,7 +136,6 @@ static struct vlan_context *get_vlan_ctx(struct net_if *main_iface,
|
|||
}
|
||||
|
||||
ctx = net_if_get_device(vctx->virtual_iface)->data;
|
||||
NET_ASSERT(vctx != NULL);
|
||||
|
||||
if (any_tag) {
|
||||
if (ctx->tag != NET_VLAN_TAG_UNSPEC) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue