linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net: Deal with if statement in rtnetlink_send()
@ 2021-07-15 12:12 Yajun Deng
  2021-07-15 12:12 ` [PATCH v2 1/2] rtnetlink: use nlmsg_notify() " Yajun Deng
  2021-07-16 17:50 ` [PATCH v2 0/2] net: Deal with if statement " patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Yajun Deng @ 2021-07-15 12:12 UTC (permalink / raw)
  To: davem, kuba, jhs, xiyou.wangcong, jiri, johannes.berg, avagin,
	ryazanov.s.a, vladimir.oltean, roopa, yajun.deng, zhudi21
  Cc: netdev, linux-kernel

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-16 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-15 12:12 [PATCH v2 0/2] net: Deal with if statement in rtnetlink_send() Yajun Deng
2021-07-15 12:12 ` [PATCH v2 1/2] rtnetlink: use nlmsg_notify() " Yajun Deng
2021-07-16 17:50 ` [PATCH v2 0/2] net: Deal with if statement " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).