linux/drivers/block
Chaitanya Kulkarni 0aab29b854 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>
2022-02-27 14:49:49 -07:00
..
aoe block: remove genhd.h 2022-02-02 07:49:59 -07:00
drbd block: pass a block_device to bio_clone_fast 2022-02-04 07:43:18 -07:00
mtip32xx block: remove genhd.h 2022-02-02 07:49:59 -07:00
null_blk null_blk: fix return value from null_add_dev() 2022-02-27 14:49:49 -07:00
paride Char/Misc and other driver changes for 5.17-rc1 2022-01-14 16:02:28 +01:00
rnbd block/rnbd: Remove a useless mutex 2022-02-27 14:49:49 -07:00
xen-blkback block: pass a block_device and opf to bio_alloc 2022-02-02 07:49:59 -07:00
zram block: pass a block_device and opf to bio_init 2022-02-02 07:49:59 -07:00
amiflop.c block: remove the ->rq_disk field in struct request 2021-11-29 06:41:29 -07:00
ataflop.c block: remove the ->rq_disk field in struct request 2021-11-29 06:41:29 -07:00
brd.c brd: remove brd_devices_mutex mutex 2022-01-17 07:19:40 -07:00
floppy.c block: pass a block_device and opf to bio_init 2022-02-02 07:49:59 -07:00
Kconfig block: remove the rsxx driver 2021-12-16 10:57:04 -07:00
loop.c loop: remove extra variable in lo_fallocate() 2022-02-27 14:49:49 -07:00
loop.h loop: make autoclear operation asynchronous 2021-12-13 11:37:31 -07:00
Makefile block: remove the rsxx driver 2021-12-16 10:57:04 -07:00
n64cart.c block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART 2021-11-29 06:35:21 -07:00
nbd.c for-5.16/drivers-2021-11-09 2021-11-09 11:24:08 -08:00
pktcdvd.c block: pass a block_device to bio_clone_fast 2022-02-04 07:43:18 -07:00
ps3disk.c ps3disk: add error handling support for add_disk() 2021-10-30 11:03:37 -06:00
ps3vram.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
rbd_types.h libceph, rbd: replace zero-length array with flexible-array 2020-06-01 13:22:53 +02:00
rbd.c The highlight is the new mount "device" string syntax implemented 2022-01-20 13:46:20 +02:00
sunvdc.c block: remove genhd.h 2022-02-02 07:49:59 -07:00
swim3.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
swim_asm.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
swim.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00
sx8.c block: remove the gendisk argument to blk_execute_rq 2021-11-29 06:41:29 -07:00
virtio_blk.c virtio_blk: simplify refcounting 2022-02-16 19:44:24 -07:00
xen-blkfront.c for-5.17/block-2022-01-11 2022-01-12 10:26:52 -08:00
z2ram.c block: remove GENHD_FL_EXT_DEVT 2021-11-29 06:38:35 -07:00