diff options
Diffstat (limited to 'fs/bio-integrity.c')
-rw-r--r-- | fs/bio-integrity.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bio-integrity.c b/fs/bio-integrity.c index ba4ada08564a..6e28dcdd23a2 100644 --- a/fs/bio-integrity.c +++ b/fs/bio-integrity.c | |||
@@ -150,11 +150,6 @@ int bio_integrity_add_page(struct bio *bio, struct page *page, | |||
150 | } | 150 | } |
151 | EXPORT_SYMBOL(bio_integrity_add_page); | 151 | EXPORT_SYMBOL(bio_integrity_add_page); |
152 | 152 | ||
153 | static struct blk_integrity *bdev_get_integrity(struct block_device *bdev) | ||
154 | { | ||
155 | return bdev->bd_disk->integrity; | ||
156 | } | ||
157 | |||
158 | static int bdev_integrity_enabled(struct block_device *bdev, int rw) | 153 | static int bdev_integrity_enabled(struct block_device *bdev, int rw) |
159 | { | 154 | { |
160 | struct blk_integrity *bi = bdev_get_integrity(bdev); | 155 | struct blk_integrity *bi = bdev_get_integrity(bdev); |