Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6459082a authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller
Browse files

qdisc: basic classifier - remove unnecessary initialization



err is set once, then first code resets it.
  err = tcf_exts_validate(...)

Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Acked-by: default avatarJamal Hadi Salim <hadi@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0c4e4020
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -137,7 +137,7 @@ static int basic_set_parms(struct net *net, struct tcf_proto *tp,
			   struct nlattr **tb,
			   struct nlattr **tb,
			   struct nlattr *est)
			   struct nlattr *est)
{
{
	int err = -EINVAL;
	int err;
	struct tcf_exts e;
	struct tcf_exts e;
	struct tcf_ematch_tree t;
	struct tcf_ematch_tree t;