netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: patchwork-bot+netdevbpf@kernel.org
To: Yajun Deng <yajun.deng@linux.dev>
Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next] net: Remove redundant if statements
Date: Thu, 05 Aug 2021 12:30:06 +0000	[thread overview]
Message-ID: <162816660683.5517.6056843504159587831.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210805115527.19435-1-yajun.deng@linux.dev>

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Thu,  5 Aug 2021 19:55:27 +0800 you wrote:
> The 'if (dev)' statement already move into dev_{put , hold}, so remove
> redundant if statements.
> 
> Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
> ---
>  net/batman-adv/bridge_loop_avoidance.c |  6 ++----
>  net/batman-adv/distributed-arp-table.c |  3 +--
>  net/batman-adv/gateway_client.c        |  3 +--
>  net/batman-adv/multicast.c             |  9 +++------
>  net/batman-adv/originator.c            | 12 ++++--------
>  net/batman-adv/translation-table.c     |  9 +++------
>  net/can/raw.c                          |  8 ++------
>  net/core/dev.c                         |  6 ++----
>  net/core/drop_monitor.c                |  6 ++----
>  net/core/dst.c                         |  6 ++----
>  net/core/neighbour.c                   | 15 +++++----------
>  net/decnet/dn_dev.c                    |  6 ++----
>  net/decnet/dn_fib.c                    |  3 +--
>  net/decnet/dn_route.c                  | 18 ++++++------------
>  net/ethtool/netlink.c                  |  6 ++----
>  net/ieee802154/nl-phy.c                |  3 +--
>  net/ieee802154/nl802154.c              |  3 +--
>  net/ieee802154/socket.c                |  3 +--
>  net/ipv4/fib_semantics.c               |  4 +---
>  net/ipv4/icmp.c                        |  3 +--
>  net/ipv4/route.c                       |  3 +--
>  net/ipv6/addrconf.c                    |  6 ++----
>  net/ipv6/ip6mr.c                       |  3 +--
>  net/ipv6/route.c                       |  3 +--
>  net/llc/af_llc.c                       |  6 ++----
>  net/netfilter/nf_flow_table_offload.c  |  3 +--
>  net/netfilter/nf_queue.c               | 24 ++++++++----------------
>  net/netlabel/netlabel_unlabeled.c      |  6 ++----
>  net/netrom/nr_loopback.c               |  3 +--
>  net/netrom/nr_route.c                  |  3 +--
>  net/packet/af_packet.c                 | 15 +++++----------
>  net/phonet/af_phonet.c                 |  3 +--
>  net/phonet/pn_dev.c                    |  6 ++----
>  net/phonet/socket.c                    |  3 +--
>  net/sched/act_mirred.c                 |  6 ++----
>  net/smc/smc_ib.c                       |  3 +--
>  net/smc/smc_pnet.c                     |  3 +--
>  net/wireless/nl80211.c                 | 16 +++++-----------
>  net/wireless/scan.c                    |  3 +--
>  39 files changed, 82 insertions(+), 168 deletions(-)

Here is the summary with links:
  - [net-next] net: Remove redundant if statements
    https://git.kernel.org/netdev/net-next/c/1160dfa178eb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



  reply	other threads:[~2021-08-05 12:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05 11:55 [PATCH net-next] net: Remove redundant if statements Yajun Deng
2021-08-05 12:30 ` patchwork-bot+netdevbpf [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-06  6:38 Yajun Deng
2021-08-06  8:58 ` Matthieu Baerts
2021-08-06  9:13   ` yajun.deng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162816660683.5517.6056843504159587831.git-patchwork-notify@kernel.org \
    --to=patchwork-bot+netdevbpf@kernel.org \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yajun.deng@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).