Re: [PATCH] nvme: fix unused variable warning
From: Krzysztof Wilczyński
Date: Wed Apr 21 2021 - 12:57:17 EST
[+cc Bixuan]
Hi Arnd,
> The function was introduced with a variable that is never referenced:
>
> drivers/pci/quirks.c: In function 'quirk_amd_nvme_fixup':
> drivers/pci/quirks.c:312:25: warning: unused variable 'rdev' [-Wunused-variable]
>
> Fixes: 9597624ef606 ("nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path")
[...]
A simialr patch was sent recently, as per:
https://lore.kernel.org/linux-pci/20210417114258.23640-1-cuibixuan@xxxxxxxxxx/
Other than that,
Reviewed-by: Krzysztof Wilczyński <kw@xxxxxxxxx>
Krzysztof