diff options
Diffstat (limited to 'src/network/tc/drr.c')
-rw-r--r-- | src/network/tc/drr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/tc/drr.c b/src/network/tc/drr.c index 742a56f8c9..373911bc70 100644 --- a/src/network/tc/drr.c +++ b/src/network/tc/drr.c @@ -56,14 +56,13 @@ int config_parse_drr_size( _cleanup_(tclass_free_or_set_invalidp) TClass *tclass = NULL; DeficitRoundRobinSchedulerClass *drr; - Network *network = data; + Network *network = ASSERT_PTR(data); uint64_t u; int r; assert(filename); assert(lvalue); assert(rvalue); - assert(data); r = tclass_new_static(TCLASS_KIND_DRR, network, filename, section_line, &tclass); if (r == -ENOMEM) |