[PATCH 2/2] nvme: reduce a repeated ZNS check

Sagi Grimberg sagi at grimberg.me
Fri May 3 00:38:45 PDT 2024



On 5/2/24 11:44, Kanchan Joshi wrote:
> On 5/2/2024 12:43 PM, Christoph Hellwig wrote:
>> Not sure there is much of a point do de-duplicate two instances of
>> compile time condition + trivial const comparison?
>>
> I also don't see it as a [micro] optimization. But this if condition
> seemed too long to be present twice.

Seems a bit redundant to me.



More information about the Linux-nvme mailing list