hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/include/linux/t10-pi.h
....@@ -53,18 +53,4 @@
5353 extern const struct blk_integrity_profile t10_pi_type3_crc;
5454 extern const struct blk_integrity_profile t10_pi_type3_ip;
5555
56
-#ifdef CONFIG_BLK_DEV_INTEGRITY
57
-extern void t10_pi_prepare(struct request *rq, u8 protection_type);
58
-extern void t10_pi_complete(struct request *rq, u8 protection_type,
59
- unsigned int intervals);
60
-#else
61
-static inline void t10_pi_complete(struct request *rq, u8 protection_type,
62
- unsigned int intervals)
63
-{
64
-}
65
-static inline void t10_pi_prepare(struct request *rq, u8 protection_type)
66
-{
67
-}
68
-#endif
69
-
7056 #endif