Re: [PATCH] misc: pci_endpoint_test: Remove some unused functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux