Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp752805pxt; Thu, 5 Aug 2021 10:45:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjtcaTmcIniQN+0z40YLwHBaQISiCLs+vOZI5FqcX7AVQFGHBdm/Nb2S8O5iSDNn71qd5z X-Received: by 2002:a05:6402:2054:: with SMTP id bc20mr8280704edb.354.1628185539292; Thu, 05 Aug 2021 10:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628185539; cv=none; d=google.com; s=arc-20160816; b=kJ5OmSjAVXw8O2QjP14PSxsz2m0biluPhWwnx9mOweM1vQE4WKHg/XytAhK8MdPYej IVt14+4T7Up5LBHzGrckLEZCsQZD/oA1LHDAtWH8JpC8RbEnTWlIW4D9O7a7AFmXgTMD yl30W5VmOEyKuVSDxXXfUO69H3eFS/I3O0514DEGtaB3TSljyKQPciZGvKzX1H1aaezS wVE4nPcQwn9jM1iKMK9a0q3Yu2M/P7D8MfheeybBlwdFXJ1YEEIJWSuHwkUOuywn/h/6 y0j1iupaWw9cTYMl7+St6YwFSlpq8Em05MMFszX+rehxtu+DzcBc3Mt8u1BA7ptqWKF9 Ig9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=M8JL+tH07bDmOqrHg1rqUI66yTu/bFbE37nDungogrA=; b=NyJvLLkSww2CWM4X0tj0segLrMJgP9HW8g7pE7pHaBfAoIPCez7TWViocS7g/OgbiH G6ANwl7fDj+3cJnJwh46g3wnfOxTMEA4kgor/1bWFgbIjnZ39Xpdr9qaJGHyQqfNYBuV 0Vjlt3ygpWTuF8rLC0QKkCJpd7nH1DF8F7n6O9S6zNNIVtaqGtq1VlEvQm70XDYcf263 mNS/EhPxScCiIvgzamCSqdeRr1IuaObhiIJVTd3jYoC5F1Ge2c8qgQZ38wHYpf9ppeCG AJM9ErBwSuZ1V2s4JrwS2iTpugOIa2vVVZpQMnSb3YK+ZfPbIuYr/t+inB//mRYiT/fw EiZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lK08tk7M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d24si6130949edq.93.2021.08.05.10.45.15; Thu, 05 Aug 2021 10:45:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lK08tk7M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241365AbhHEMaV (ORCPT + 99 others); Thu, 5 Aug 2021 08:30:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:42928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240009AbhHEMaU (ORCPT ); Thu, 5 Aug 2021 08:30:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id D783B6113C; Thu, 5 Aug 2021 12:30:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628166606; bh=GZ2Jy/6iEb4dlJpi73YaSiwro78S2UBi5mHHzVSZfIM=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=lK08tk7MATn2Ix1D3ZkfV+sMFvGtfevERIrYCQXKPcU+SABNjze9gCIgrZaflGH/v ThDgsKnb8A1OOAhqPorC24+fXwkLn6T5/CUk9MxQw09Pm9mdWpJa+HGN7PWqkBD5He uhj21FwsRmc8XY+fihxkzfcHiS7qhjFiMYwYJshI7oPCkI484FkQS62KgUXeflQXWU ea+WeuERTEmqwwLQAReNYqDP+uufHWhNRU+dXSbGjPZL/v/XKoDI4WMqbBylgOe+oG gB6ncCSnTHxmqOgo4LVf7RAgff5WuTOYL/c0pHN/X49hXGYMUgimXNfN3FibHHWfM1 3tHlPK919RHEQ== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id CD40460A88; Thu, 5 Aug 2021 12:30:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: Remove redundant if statements From: patchwork-bot+netdevbpf@kernel.org Message-Id: <162816660683.5517.6056843504159587831.git-patchwork-notify@kernel.org> Date: Thu, 05 Aug 2021 12:30:06 +0000 References: <20210805115527.19435-1-yajun.deng@linux.dev> In-Reply-To: <20210805115527.19435-1-yajun.deng@linux.dev> To: Yajun Deng Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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