summaryrefslogtreecommitdiffstats
path: root/src/obj/counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/obj/counter.c')
-rw-r--r--src/obj/counter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/obj/counter.c b/src/obj/counter.c
index 76a1b20..982da2c 100644
--- a/src/obj/counter.c
+++ b/src/obj/counter.c
@@ -34,8 +34,6 @@ nftnl_obj_counter_set(struct nftnl_obj *e, uint16_t type,
case NFTNL_OBJ_CTR_PKTS:
memcpy(&ctr->pkts, data, sizeof(ctr->pkts));
break;
- default:
- return -1;
}
return 0;
}