]> git.baikalelectronics.ru Git - kernel.git/commit
net/sched: Remove unnecessary if statement
authorYajun Deng <yajun.deng@linux.dev>
Thu, 15 Jul 2021 12:24:24 +0000 (20:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jul 2021 17:46:35 +0000 (10:46 -0700)
commit9c9e74425e6e74f8a90b205bed8021e15c8a14b9
tree0f5717c6c3c9c22f5b833a1465ae87fefe533b8e
parentda3735716c28cc19a5acbbbaa06b287465ab6ba8
net/sched: Remove unnecessary if statement

It has been deal with the 'if (err' statement in rtnetlink_send()
and rtnl_unicast(). so remove unnecessary if statement.

v2: use the raw name rtnetlink_send().

Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c
net/sched/cls_api.c
net/sched/sch_api.c