Remove redundant condition in qdisc_graft
authorGaurav Singh <gaurav1086@gmail.com>
Thu, 18 Jun 2020 20:36:31 +0000 (16:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2020 00:29:52 +0000 (17:29 -0700)
commit8eaf8d99409009b7ab7853f3ac603928458c2022
tree6c1a29ca37407b2005a1cb6ec89cef5127cec33d
parentcd3998385712dc4ee67d927a51d829d74a104426
Remove redundant condition in qdisc_graft

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_api.c