[PATCH v2 0/2] net: Deal with if statement in rtnetlink_send()
From: Yajun Deng
Date: Thu Jul 15 2021 - 08:13:26 EST
Patch1: use nlmsg_notify() in rtnetlink_send(), so that the caller
wouldn't deal with if statement.
Patch2: Remove unnecessary if statement.
Yajun Deng (2):
rtnetlink: use nlmsg_notify() in rtnetlink_send()
net/sched: Remove unnecessary if statement
net/core/rtnetlink.c | 9 +--------
net/sched/act_api.c | 12 ++----------
net/sched/cls_api.c | 15 ++++-----------
net/sched/sch_api.c | 10 ++--------
4 files changed, 9 insertions(+), 37 deletions(-)
--
2.32.0