Re: [PATCH -next] PCI: remove unused variable rdev

From: Chaitanya Kulkarni
Date: Sat Apr 17 2021 - 16:37:04 EST


On 4/17/21 04:44, Bixuan Cui wrote:
> Fix the build warning:
>
> drivers/pci/quirks.c: In function ‘quirk_amd_nvme_fixup’:
> drivers/pci/quirks.c:312:18: warning: unused variable ‘rdev’ [-Wunused-variable]
> struct pci_dev *rdev;
> ^~~~
>
> Fixes: 9597624ef606 ('nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path')
> Signed-off-by: Bixuan Cui <cuibixuan@xxxxxxxxxx>


Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@xxxxxxx>