Re: [PATCH net v2] net/sched: cbs: Fix not adding cbs instance to list flat view From: Cong Wang <hidden> Date: 2019-09-24 04:22:15 On Mon, Sep 23, 2019 at 5:14 PM Vinicius Costa Gomes [off-list ref] wrote:quoted hunk ↗ jump to hunk@@ -417,12 +421,6 @@ static int cbs_init(struct Qdisc *sch, struct nlattr *opt, if (err) return err; - if (!q->offload) { - spin_lock(&cbs_list_lock); - list_add(&q->cbs_list, &cbs_list); - spin_unlock(&cbs_list_lock); - } - return 0; These two return's now can be folded into one, right?
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help