diff options
author | Tom Rix <trix@redhat.com> | 2023-03-20 20:02:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-29 12:20:32 +0200 |
commit | 71d74aaa15b49d2ea6927706ee2a7debc88fe3c2 (patch) | |
tree | 353d9f91011626224666a3e7f6256f72417b4143 /drivers/iommu/iommu.c | |
parent | 52a7a5e91f9f63c99632687e85a7531d9ac9a706 (diff) | |
download | lwn-71d74aaa15b49d2ea6927706ee2a7debc88fe3c2.tar.gz lwn-71d74aaa15b49d2ea6927706ee2a7debc88fe3c2.zip |
misc: alcor_pci: remove unused alcor functions
clang with W=1 reports
drivers/misc/cardreader/alcor_pci.c:98:20: error: unused function
'alcor_mask_sd_irqs' [-Werror,-Wunused-function]
static inline void alcor_mask_sd_irqs(struct alcor_pci_priv *priv)
^
drivers/misc/cardreader/alcor_pci.c:103:20: error: unused function
'alcor_unmask_sd_irqs' [-Werror,-Wunused-function]
static inline void alcor_unmask_sd_irqs(struct alcor_pci_priv *priv)
^
drivers/misc/cardreader/alcor_pci.c:111:20: error: unused function
'alcor_mask_ms_irqs' [-Werror,-Wunused-function]
static inline void alcor_mask_ms_irqs(struct alcor_pci_priv *priv)
^
drivers/misc/cardreader/alcor_pci.c:116:20: error: unused function
'alcor_unmask_ms_irqs' [-Werror,-Wunused-function]
static inline void alcor_unmask_ms_irqs(struct alcor_pci_priv *priv)
^
These functions are not used, so remove them.
Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230321000203.1730802-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions