diff mbox series

block: delete module stuff from t10-pi

Message ID 216ccc79-5b80-47b2-b507-990951aa810c@p183 (mailing list archive)
State New, archived
Headers show
Series block: delete module stuff from t10-pi | expand

Commit Message

Alexey Dobriyan Aug. 12, 2024, 6:10 p.m. UTC
It is not possible to build t10-pi.ko anymore.

This file doesn't even export functions.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 block/t10-pi.c |    4 ----
 1 file changed, 4 deletions(-)

Comments

Martin K. Petersen Aug. 12, 2024, 7:17 p.m. UTC | #1
Alexey,

> It is not possible to build t10-pi.ko anymore.
>
> This file doesn't even export functions.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Christoph Hellwig Aug. 13, 2024, 6:50 a.m. UTC | #2
Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
Jens Axboe Aug. 13, 2024, 12:20 p.m. UTC | #3
On Mon, 12 Aug 2024 21:10:33 +0300, Alexey Dobriyan wrote:
> It is not possible to build t10-pi.ko anymore.
> 
> This file doesn't even export functions.
> 
> 

Applied, thanks!

[1/1] block: delete module stuff from t10-pi
      commit: 49923a0dff59fa6b34aa6cc16dc9eefdbbcd3846

Best regards,
diff mbox series

Patch

--- a/block/t10-pi.c
+++ b/block/t10-pi.c
@@ -8,7 +8,6 @@ 
 #include <linux/blk-integrity.h>
 #include <linux/crc-t10dif.h>
 #include <linux/crc64.h>
-#include <linux/module.h>
 #include <net/checksum.h>
 #include <asm/unaligned.h>
 #include "blk.h"
@@ -472,6 +471,3 @@  void blk_integrity_complete(struct request *rq, unsigned int nr_bytes)
 	else
 		t10_pi_type1_complete(rq, nr_bytes);
 }
-
-MODULE_DESCRIPTION("T10 Protection Information module");
-MODULE_LICENSE("GPL");