diff options
author | Gou Hao <gouhao@uniontech.com> | 2023-12-14 18:14:58 +0300 |
---|---|---|
committer | Song Liu <song@kernel.org> | 2023-12-15 11:45:37 +0300 |
commit | af140f806ae2679f9dba48ea0f5811da83854eb6 (patch) | |
tree | 234d05d7b498671dbb3ed1d4c7d159a6ef02dec3 /lib/syscall.c | |
parent | fa2bbff7b0b4e211fec5e5686ef96350690597b5 (diff) | |
download | linux-af140f806ae2679f9dba48ea0f5811da83854eb6.tar.xz |
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: Gou Hao <gouhao@uniontech.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20231214151458.28970-1-gouhao@uniontech.com
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions