diff options
author | Madhumitha Prabakaran <madhumithabiw@gmail.com> | 2019-04-05 00:14:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-16 14:44:30 +0300 |
commit | d5d682270f35cc324f7074c3d615b5bf8222df16 (patch) | |
tree | 3484b98939bf0c2b87b1f8b8983d5f2da49bc695 | |
parent | e7cc9eba71ef82cc5fbc3d47064b551559f61d42 (diff) | |
download | linux-d5d682270f35cc324f7074c3d615b5bf8222df16.tar.xz |
Staging: rtlwifi: Remove & on function name
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>
-rw-r--r-- | drivers/staging/rtlwifi/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtlwifi/pci.c b/drivers/staging/rtlwifi/pci.c index 4bb5703bd715..b97c76ec22ea 100644 --- a/drivers/staging/rtlwifi/pci.c +++ b/drivers/staging/rtlwifi/pci.c @@ -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; |