diff mbox series

[v2,4/4] blk-integrity: drop integrity_kobj from gendisk

Message ID 20230309-kobj_release-gendisk_integrity-v2-4-761a50d71900@weissschuh.net (mailing list archive)
State New, archived
Headers show
Series blk-integrity: drop integrity_kobj from gendisk | expand

Commit Message

Thomas Weißschuh March 10, 2023, 10:40 p.m. UTC
The previous patches made the integrity_kobj member in struct gendisk
superfluous, remove it.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 include/linux/blkdev.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Christoph Hellwig March 15, 2023, 3:07 p.m. UTC | #1
On Fri, Mar 10, 2023 at 10:40:05PM +0000, Thomas Weißschuh wrote:
> The previous patches made the integrity_kobj member in struct gendisk
> superfluous, remove it.

Maybe fold this into the patch that removes the last use?
diff mbox series

Patch

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index d1aee08f8c18..b5bc85c3166f 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -163,9 +163,6 @@  struct gendisk {
 	struct timer_rand_state *random;
 	atomic_t sync_io;		/* RAID */
 	struct disk_events *ev;
-#ifdef  CONFIG_BLK_DEV_INTEGRITY
-	struct kobject integrity_kobj;
-#endif	/* CONFIG_BLK_DEV_INTEGRITY */
 
 #ifdef CONFIG_BLK_DEV_ZONED
 	/*