summaryrefslogtreecommitdiff
path: root/drivers/block/loop.h
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2017-08-24 10:03:41 +0300
committerJens Axboe <axboe@kernel.dk>2017-08-31 22:51:10 +0300
commit8a0740c4109d646d8697d359962edea47301c652 (patch)
treee28ec3abed4734b1edbcf06140faf6cc5ab53b99 /drivers/block/loop.h
parent24d90bb2f3251a8cb63b65e8eb61713d6395362c (diff)
downloadlinux-8a0740c4109d646d8697d359962edea47301c652.tar.xz
loop: get rid of lo_blocksize
This is only used for setting the soft block size on the struct block_device once and then never used again. Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/loop.h')
-rw-r--r--drivers/block/loop.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/loop.h b/drivers/block/loop.h
index fecd3f97ef8c..efe57189d01e 100644
--- a/drivers/block/loop.h
+++ b/drivers/block/loop.h
@@ -48,7 +48,6 @@ struct loop_device {
struct file * lo_backing_file;
struct block_device *lo_device;
- unsigned lo_blocksize;
void *key_data;
gfp_t old_gfp_mask;