summaryrefslogtreecommitdiffstats
path: root/src/expr/tunnel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/tunnel.c')
-rw-r--r--src/expr/tunnel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/expr/tunnel.c b/src/expr/tunnel.c
index e381994..e59744b 100644
--- a/src/expr/tunnel.c
+++ b/src/expr/tunnel.c
@@ -36,8 +36,6 @@ static int nftnl_expr_tunnel_set(struct nftnl_expr *e, uint16_t type,
case NFTNL_EXPR_TUNNEL_DREG:
memcpy(&tunnel->dreg, data, sizeof(tunnel->dreg));
break;
- default:
- return -1;
}
return 0;
}