commit | 0aab29b85478b994422f1551ce36e5640b09db2b | [log] [tgz] |
---|---|---|
author | Chaitanya Kulkarni <kch@nvidia.com> | Tue Feb 15 13:33:08 2022 -0800 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Feb 27 14:49:49 2022 -0700 |
tree | 08a822d9f5cd29c2ad9034a5d7edb6cb8e8a3c83 | |
parent | b27824d31f09ea7b4a6ba2c1b18bd328df3e8bed [diff] |
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>