Subject: Re: [PATCH net-next] net: Remove redundant if statements

From: [email-masked]
Date: Thu, 05 Aug 2021 12:30:06 +0000

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 <[email-masked]>
> ---
>  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