From nobody Sun Feb 8 08:47:42 2026 Received: from mx10.didiglobal.com (mx10.didiglobal.com [111.202.70.125]) by smtp.subspace.kernel.org (Postfix) with SMTP id 6E0D36E61E for ; Thu, 14 Mar 2024 11:30:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.202.70.125 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710415817; cv=none; b=Jzc91aniuXMRxl7pFEdH3k+e/ih+ReoXxoTifeP/U8/8N07AcGziPukHDWPtbiGuGUdkHQBjYT5YSvbQUye2ob9UcVQ3QQLpUQiYOTU3f/6hNqM8K+TZMmjD/v7qT1J4HRPBzAY6OSqNOgDM1NXxiQwUrUH/RIBc4htwVv4sO3Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710415817; c=relaxed/simple; bh=BV17QkmH0U2ifAlcV0mMWZci/Qg+LWsIi8yRH+XAR2A=; h=Date:From:To:CC:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=d43UMTjia5GyLZofulxrguMZnatnu8XirI6oEaePqfUp1rymmeW5DEb+TKKrp3BcbCNRANqVmAD6ET/krUEARQBnzHmE6h2wIDUaFZsr8L5J40H7uBqMxvQsQBeHi/Bapr06iEGIt1iLExNUfWo3pf23u1rb6KMFeWcik9bzSaM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=didiglobal.com; spf=pass smtp.mailfrom=didiglobal.com; arc=none smtp.client-ip=111.202.70.125 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=didiglobal.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=didiglobal.com Received: from mail.didiglobal.com (unknown [10.79.65.12]) by mx10.didiglobal.com (MailData Gateway V2.8.8) with ESMTPS id 25E0818A2B6AAC; Thu, 14 Mar 2024 19:27:05 +0800 (CST) Received: from didi-ThinkCentre-M930t-N000 (10.79.64.101) by ZJY02-ACTMBX-02.didichuxing.com (10.79.65.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 14 Mar 2024 19:27:04 +0800 Date: Thu, 14 Mar 2024 19:26:53 +0800 X-MD-Sfrom: tiozhang@didiglobal.com X-MD-SrcIP: 10.79.65.12 From: Tio Zhang To: , , CC: , , , Subject: [PATCH] bottom_half: remove local_bh_enable_ip Message-ID: <20240314112653.GA8027@didi-ThinkCentre-M930t-N000> Mail-Followup-To: akpm@linux-foundation.org, peterz@infradead.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, zyhtheonly@gmail.com, zyhtheonly@yeah.net Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: ZJY01-PUBMBX-01.didichuxing.com (10.79.64.32) To ZJY02-ACTMBX-02.didichuxing.com (10.79.65.12) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Remove local_bh_enable_ip since there is no caller. We can refactor this when there is a first use-case. Signed-off-by: Tio Zhang --- include/linux/bottom_half.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h index fc53e0ad56d9..48df8e669bb3 100644 --- a/include/linux/bottom_half.h +++ b/include/linux/bottom_half.h @@ -23,11 +23,6 @@ static inline void local_bh_disable(void) extern void _local_bh_enable(void); extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt); =20 -static inline void local_bh_enable_ip(unsigned long ip) -{ - __local_bh_enable_ip(ip, SOFTIRQ_DISABLE_OFFSET); -} - static inline void local_bh_enable(void) { __local_bh_enable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET); --=20 2.17.1