summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/vlan.c')
-rw-r--r--src/network/netdev/vlan.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/netdev/vlan.c b/src/network/netdev/vlan.c
index 3f9f594759..a3d961dac3 100644
--- a/src/network/netdev/vlan.c
+++ b/src/network/netdev/vlan.c
@@ -129,13 +129,12 @@ int config_parse_vlan_qos_maps(
void *data,
void *userdata) {
- Set **s = data;
+ Set **s = ASSERT_PTR(data);
int r;
assert(filename);
assert(lvalue);
assert(rvalue);
- assert(data);
if (isempty(rvalue)) {
*s = set_free(*s);