Commit 59ab87f6 authored by Andre Guedes's avatar Andre Guedes Committed by David S. Miller
Browse files

net: sched: taprio: Remove pointless variable assigment



This patch removes a pointless variable assigment in taprio_change().
The 'err' variable is not used from this assignment to the next one so
this patch removes it.

Signed-off-by: default avatarAndre Guedes <andre.guedes@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ecc5663c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -651,7 +651,6 @@ static int taprio_change(struct Qdisc *sch, struct nlattr *opt,
	if (err < 0)
		return err;

	err = -EINVAL;
	if (tb[TCA_TAPRIO_ATTR_PRIOMAP])
		mqprio = nla_data(tb[TCA_TAPRIO_ATTR_PRIOMAP]);