summaryrefslogtreecommitdiffstats
path: root/drivers/block/rnbd/rnbd-srv.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-02-15 22:33:08 +0100
committerJens Axboe <axboe@kernel.dk>2022-02-27 22:49:49 +0100
commit0aab29b85478b994422f1551ce36e5640b09db2b (patch)
tree08a822d9f5cd29c2ad9034a5d7edb6cb8e8a3c83 /drivers/block/rnbd/rnbd-srv.c
parentloop: use sysfs_emit() in the sysfs xxx show() (diff)
downloadlinux-0aab29b85478b994422f1551ce36e5640b09db2b.tar.xz
linux-0aab29b85478b994422f1551ce36e5640b09db2b.zip
loop: remove extra variable in lo_fallocate()
The local variable q is used to pass it to the blk_queue_discard(). We can get away with using lo->lo_queue instead of storing in a local variable which is not used anywhere else. No functional change in this patch. Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com> Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com> Link: https://lore.kernel.org/r/20220215213310.7264-3-kch@nvidia.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/rnbd/rnbd-srv.c')
0 files changed, 0 insertions, 0 deletions