On Thu, Feb 16, 2023 at 05:54:09AM -0500, Pawel Laszczak wrote: > +static void cdns2_pci_remove(struct pci_dev *pdev) > +{ > + struct cdns2_device *priv_dev; > + > + priv_dev = (struct cdns2_device *)pci_get_drvdata(pdev); Nit, no need to cast for this. thanks, greg k-h