lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20240314112653.GA8027@didi-ThinkCentre-M930t-N000>
Date: Thu, 14 Mar 2024 19:26:53 +0800
From: Tio Zhang <tiozhang@...iglobal.com>
To: <akpm@...ux-foundation.org>, <peterz@...radead.org>, <tglx@...utronix.de>
CC: <linux-kernel@...r.kernel.org>, <zyhtheonly@...il.com>,
	<tiozhang@...iglobal.com>, <zyhtheonly@...h.net>
Subject: [PATCH] bottom_half: remove local_bh_enable_ip

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 <tiozhang@...iglobal.com>
---
 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);
 
-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);
-- 
2.17.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ