summaryrefslogtreecommitdiff
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorChaitanya Kulkarni <kch@nvidia.com>2022-02-22 18:28:51 +0300
committerJens Axboe <axboe@kernel.dk>2022-02-28 00:49:49 +0300
commitc90b6b50b42dfdfeb27b02e670e812b69ff364f5 (patch)
tree45bc5a2fea356e5d6151d60dc1054437d39cd70b /crypto/cipher.c
parent3d3472f3ed419fe1a9d3f881a4905fa8e03d750c (diff)
downloadlinux-c90b6b50b42dfdfeb27b02e670e812b69ff364f5.tar.xz
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 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions