[PATCH] nvme: remove nssa from struct nvme_ctrl

Keith Busch kbusch at kernel.org
Tue Feb 15 10:37:36 PST 2022


On Tue, Feb 15, 2022 at 05:09:44PM +0000, Chaitanya Kulkarni wrote:
> On 2/15/22 09:03, Chaitanya Kulkarni wrote:
> > On 2/15/22 07:37, Keith Busch wrote:
> >> The reported number of streams is not used outside the function that
> >> gets it, so no need to stash it in the controller structure. Use a local
> >> variable instead.
> >>
> >> Signed-off-by: Keith Busch <kbusch at kernel.org>
> >> ---
> >>
> > 
> > Looks good, can we make this feature configurable from KConfig ?
> > 
> 
> right question is should we make optional features configurable ?

I don't see why. What benefit does the driver stand to gain from
conditionally compiling such capabilities?



More information about the Linux-nvme mailing list