lkml.org 
[lkml]   [2023]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] usb: cdns2: Add main part of Cadence USBHS driver
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

\
 
 \ /
  Last update: 2023-03-27 00:25    [W:0.083 / U:4.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site