Commit d5d68227 authored by Madhumitha Prabakaran's avatar Madhumitha Prabakaran Committed by Greg Kroah-Hartman

Staging: rtlwifi: Remove & on function name

Function name is otherwise used as pointers without &.

Issue suggested by Coccinelle.
Signed-off-by: default avatarMadhumitha Prabakaran <madhumithabiw@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e7cc9eba
...@@ -2134,7 +2134,7 @@ static int rtl_pci_intr_mode_msi(struct ieee80211_hw *hw) ...@@ -2134,7 +2134,7 @@ static int rtl_pci_intr_mode_msi(struct ieee80211_hw *hw)
if (ret < 0) if (ret < 0)
return ret; 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); IRQF_SHARED, KBUILD_MODNAME, hw);
if (ret < 0) { if (ret < 0) {
pci_disable_msi(rtlpci->pdev); pci_disable_msi(rtlpci->pdev);
...@@ -2155,7 +2155,7 @@ static int rtl_pci_intr_mode_legacy(struct ieee80211_hw *hw) ...@@ -2155,7 +2155,7 @@ static int rtl_pci_intr_mode_legacy(struct ieee80211_hw *hw)
struct rtl_pci *rtlpci = rtl_pcidev(pcipriv); struct rtl_pci *rtlpci = rtl_pcidev(pcipriv);
int ret; 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); IRQF_SHARED, KBUILD_MODNAME, hw);
if (ret < 0) if (ret < 0)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment