Skip to content
Commit af140f80 authored by Gou Hao's avatar Gou Hao Committed by Song Liu
Browse files

md/raid1: remove unnecessary null checking



If %__GFP_DIRECT_RECLAIM is set then bio_alloc_bioset will always
be able to allocate a bio. See comment of bio_alloc_bioset.

Signed-off-by: default avatarGou Hao <gouhao@uniontech.com>
Signed-off-by: default avatarSong Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231214151458.28970-1-gouhao@uniontech.com
parent fa2bbff7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment