]> www.infradead.org Git - users/hch/block.git/commitdiff
block: delete module stuff from t10-pi
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 12 Aug 2024 18:10:33 +0000 (21:10 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 13 Aug 2024 12:19:39 +0000 (06:19 -0600)
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>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/216ccc79-5b80-47b2-b507-990951aa810c@p183
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/t10-pi.c

index 425e2836f3e1d8d46419b0e015ad141e9dbf7b1a..4a90d200ae7bb1e41f09392e1aee39feecf87b28 100644 (file)
@@ -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");