* [PATCH] tools: PCI: Remove unused BILLION macro
@ 2024-09-11 6:04 zhangjiao2
2024-09-11 13:54 ` Bjorn Helgaas
0 siblings, 1 reply; 2+ messages in thread
From: zhangjiao2 @ 2024-09-11 6:04 UTC (permalink / raw)
To: manivannan.sadhasivam; +Cc: kw, kishon, linux-pci, linux-kernel, zhang jiao
From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
The macro BILLION is never referenced in the code.
Just remove it.
Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
---
tools/pci/pcitest.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/pci/pcitest.c b/tools/pci/pcitest.c
index 441b54234635..470258009ddc 100644
--- a/tools/pci/pcitest.c
+++ b/tools/pci/pcitest.c
@@ -16,8 +16,6 @@
#include <linux/pcitest.h>
-#define BILLION 1E9
-
static char *result[] = { "NOT OKAY", "OKAY" };
static char *irq[] = { "LEGACY", "MSI", "MSI-X" };
--
2.33.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tools: PCI: Remove unused BILLION macro
2024-09-11 6:04 [PATCH] tools: PCI: Remove unused BILLION macro zhangjiao2
@ 2024-09-11 13:54 ` Bjorn Helgaas
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2024-09-11 13:54 UTC (permalink / raw)
To: zhangjiao2; +Cc: manivannan.sadhasivam, kw, kishon, linux-pci, linux-kernel
On Wed, Sep 11, 2024 at 02:04:01PM +0800, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@cmss.chinamobile.com>
>
> The macro BILLION is never referenced in the code.
> Just remove it.
>
> Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com>
Applied to pci/tools for v6.12, thanks!
> ---
> tools/pci/pcitest.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/pci/pcitest.c b/tools/pci/pcitest.c
> index 441b54234635..470258009ddc 100644
> --- a/tools/pci/pcitest.c
> +++ b/tools/pci/pcitest.c
> @@ -16,8 +16,6 @@
>
> #include <linux/pcitest.h>
>
> -#define BILLION 1E9
> -
> static char *result[] = { "NOT OKAY", "OKAY" };
> static char *irq[] = { "LEGACY", "MSI", "MSI-X" };
>
> --
> 2.33.0
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-11 13:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-11 6:04 [PATCH] tools: PCI: Remove unused BILLION macro zhangjiao2
2024-09-11 13:54 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®