From 102a0743326a03cd1a1202ceda21e175b7d3575c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:20:52 +0000
Subject: [PATCH] add new system file

---
 kernel/include/linux/t10-pi.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)

diff --git a/kernel/include/linux/t10-pi.h b/kernel/include/linux/t10-pi.h
index 3e2a80c..96305a6 100644
--- a/kernel/include/linux/t10-pi.h
+++ b/kernel/include/linux/t10-pi.h
@@ -53,18 +53,4 @@
 extern const struct blk_integrity_profile t10_pi_type3_crc;
 extern const struct blk_integrity_profile t10_pi_type3_ip;
 
-#ifdef CONFIG_BLK_DEV_INTEGRITY
-extern void t10_pi_prepare(struct request *rq, u8 protection_type);
-extern void t10_pi_complete(struct request *rq, u8 protection_type,
-			    unsigned int intervals);
-#else
-static inline void t10_pi_complete(struct request *rq, u8 protection_type,
-				   unsigned int intervals)
-{
-}
-static inline void t10_pi_prepare(struct request *rq, u8 protection_type)
-{
-}
-#endif
-
 #endif

--
Gitblit v1.6.2