Re: [PATCH] scsi: target: remove unnecessary null checking for bio allocation

From: Markus Elfring
Date: Sun Feb 02 2025 - 08:56:55 EST


> When __GFP_DIRECT_RECLAIM (included in GFP_NOIO) is specified,
> bio_alloc_bioset() never fails to allocate a bio. For more details, see
> the comment in bio_alloc_bioset() in block/bio.c

See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.13#n94


Can a blank line be also omitted together with the mentioned compound statement?

Regards,
Markus