sch_dsmark: Fix uninitialized variable warning.
authorDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 20:03:16 +0000 (16:03 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 May 2017 20:04:38 +0000 (16:04 -0400)
commit9d4f97f97bb8adc47f569d995402c33de9a4fa19
treef2cc4e4f34251d0a7435aef2b6766b7d7d19de44
parent656aae43057ee3e85c9b4170706bc864108ee1cc
sch_dsmark: Fix uninitialized variable warning.

We still need to initialize err to -EINVAL for
the case where 'opt' is NULL in dsmark_init().

Fixes: 6529eaba33f0 ("net: sched: introduce tcf block infractructure")
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_dsmark.c