Re: [PATCH] misc: pci_endpoint_test: Remove some unused functions
From: Krzysztof Wilczyński
Date: Mon Jul 01 2024 - 04:10:42 EST
Hello,
> These functions are defined in the pci_endpoint_test.c file, but not
> called elsewhere, so delete these unused functions.
>
> drivers/misc/pci_endpoint_test.c:144:19: warning: unused function 'pci_endpoint_test_bar_readl'.
> drivers/misc/pci_endpoint_test.c:150:20: warning: unused function 'pci_endpoint_test_bar_writel'.
Are you sure these aren't used?
Index File Line Content
0 drivers/misc/pci_endpoint_test.c 143 static inline u32 pci_endpoint_test_bar_readl(struct pci_endpoint_test *test,
1 drivers/misc/pci_endpoint_test.c 296 val = pci_endpoint_test_bar_readl(test, barno, j);
Index File Line Content
0 drivers/misc/pci_endpoint_test.c 149 static inline void pci_endpoint_test_bar_writel(struct pci_endpoint_test *test,
1 drivers/misc/pci_endpoint_test.c 292 pci_endpoint_test_bar_writel(test, barno, j,
Krzysztof