From: David Brownell Date: Thu, 25 Oct 2007 01:44:08 +0000 (-0700) Subject: USB: amd5536udc - remove set_mwi() compiler warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=51745281b0bf56312b78d8f56afb970cd7c91137;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git USB: amd5536udc - remove set_mwi() compiler warning Get rid of pointless pci_set_mwi() compiler warning. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/amd5536udc.c b/drivers/usb/gadget/amd5536udc.c index 1c804060252..c72e9620bf8 100644 --- a/drivers/usb/gadget/amd5536udc.c +++ b/drivers/usb/gadget/amd5536udc.c @@ -3289,7 +3289,7 @@ static int udc_pci_probe( dev->chiprev = pdev->revision; pci_set_master(pdev); - pci_set_mwi(pdev); + pci_try_set_mwi(pdev); /* init dma pools */ if (use_dma) {