On Tue, Aug 29, 2017 at 11:26 AM, Nikolay Aleksandrov
<[email protected]> wrote:
> diff --git a/net/sched/sch_multiq.c b/net/sched/sch_multiq.c
> index f143b7bbaa0d..b07f8b01aa07 100644
> --- a/net/sched/sch_multiq.c
> +++ b/net/sched/sch_multiq.c
> @@ -259,9 +259,6 @@ static int multiq_init(struct Qdisc *sch, struct nlattr
> *opt)
>
> err = multiq_tune(sch, opt);
>
> - if (err)
> - kfree(q->queues);
> -
> return err;
You can fold them to:
return multiq_tune(sch, opt);
Other than this,
Acked-by : Cong Wang <[email protected]>