diff options
author | 2022-02-22 07:28:51 -0800 | |
---|---|---|
committer | 2022-02-27 14:49:49 -0700 | |
commit | c90b6b50b42dfdfeb27b02e670e812b69ff364f5 (patch) | |
tree | 45bc5a2fea356e5d6151d60dc1054437d39cd70b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | null_blk: remove hardcoded alloc_cmd() parameter (diff) | |
download | wireguard-linux-c90b6b50b42dfdfeb27b02e670e812b69ff364f5.tar.xz wireguard-linux-c90b6b50b42dfdfeb27b02e670e812b69ff364f5.zip |
null_blk: remove hardcoded null_alloc_page() param
Only caller of null_alloc_page() is null_insert_page() unconditionally
sets only parameter to GFP_NOIO and that is statically hard-coded in
null_blk. There is no point in having statically hardcoded function
parameter.
Remove the unnecessary parameter gfp_flags and adjust the code, so it
can retain existing behavior null_alloc_page() with GFP_NOIO.
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220222152852.26043-2-kch@nvidia.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions