summaryrefslogtreecommitdiffstats
path: root/src/expr/redir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/redir.c')
-rw-r--r--src/expr/redir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/expr/redir.c b/src/expr/redir.c
index eca8bfe..a5a5e7d 100644
--- a/src/expr/redir.c
+++ b/src/expr/redir.c
@@ -42,8 +42,6 @@ nftnl_expr_redir_set(struct nftnl_expr *e, uint16_t type,
case NFTNL_EXPR_REDIR_FLAGS:
memcpy(&redir->flags, data, sizeof(redir->flags));
break;
- default:
- return -1;
}
return 0;
}