Re: [PATCH] [net/sched]: Remove redundant condition in qdisc_graft

From: David Miller
Date: Sat Jun 20 2020 - 20:30:11 EST


From: Gaurav Singh <gaurav1086@xxxxxxxxx>
Date: Thu, 18 Jun 2020 16:36:31 -0400

> parent cannot be NULL here since its in the else part
> of the if (parent == NULL) condition. Remove the extra
> check on parent pointer.
>
> Signed-off-by: Gaurav Singh <gaurav1086@xxxxxxxxx>

Applied to net-next, thanks.