[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210715121258.18385-1-yajun.deng@linux.dev>
Date: Thu, 15 Jul 2021 20:12:56 +0800
From: Yajun Deng <yajun.deng@...ux.dev>
To: davem@...emloft.net, kuba@...nel.org, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us,
johannes.berg@...el.com, avagin@...il.com, ryazanov.s.a@...il.com,
vladimir.oltean@....com, roopa@...ulusnetworks.com,
yajun.deng@...ux.dev, zhudi21@...wei.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] net: Deal with if statement in rtnetlink_send()
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
Powered by blists - more mailing lists