[PATCH] tools: PCI: Remove unused BILLION macro

zhangjiao2 posted 1 patch 2 months, 2 weeks ago
tools/pci/pcitest.c | 2 --
1 file changed, 2 deletions(-)
[PATCH] tools: PCI: Remove unused BILLION macro
Posted by zhangjiao2 2 months, 2 weeks ago
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
Re: [PATCH] tools: PCI: Remove unused BILLION macro
Posted by Bjorn Helgaas 2 months, 2 weeks ago
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
> 
> 
>