Staging: rtlwifi: Remove & on function name
authorMadhumitha Prabakaran <madhumithabiw@gmail.com>
Thu, 4 Apr 2019 21:14:41 +0000 (16:14 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:44:30 +0000 (13:44 +0200)
Function name is otherwise used as pointers without &.

Issue suggested by Coccinelle.

Signed-off-by: Madhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/pci.c

index 4bb5703bd715898adedd4c9024ff4ab435a523fa..b97c76ec22ea78f33825a6e2dfa0510726fccab7 100644 (file)
@@ -2134,7 +2134,7 @@ static int rtl_pci_intr_mode_msi(struct ieee80211_hw *hw)
        if (ret < 0)
                return ret;
 
-       ret = request_irq(rtlpci->pdev->irq, &_rtl_pci_interrupt,
+       ret = request_irq(rtlpci->pdev->irq, _rtl_pci_interrupt,
                          IRQF_SHARED, KBUILD_MODNAME, hw);
        if (ret < 0) {
                pci_disable_msi(rtlpci->pdev);
@@ -2155,7 +2155,7 @@ static int rtl_pci_intr_mode_legacy(struct ieee80211_hw *hw)
        struct rtl_pci *rtlpci = rtl_pcidev(pcipriv);
        int ret;
 
-       ret = request_irq(rtlpci->pdev->irq, &_rtl_pci_interrupt,
+       ret = request_irq(rtlpci->pdev->irq, _rtl_pci_interrupt,
                          IRQF_SHARED, KBUILD_MODNAME, hw);
        if (ret < 0)
                return ret;