[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240701081028.GA2509636@rocinante>
Date: Mon, 1 Jul 2024 17:10:28 +0900
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: manivannan.sadhasivam@...aro.org, kishon@...nel.org, arnd@...db.de,
gregkh@...uxfoundation.org, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org, Abaci Robot <abaci@...ux.alibaba.com>
Subject: Re: [PATCH] misc: pci_endpoint_test: Remove some unused functions
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
Powered by blists - more mailing lists