diff mbox series

tools: PCI: Remove unused BILLION macro

Message ID 20240911060401.9230-1-zhangjiao2@cmss.chinamobile.com (mailing list archive)
State Accepted
Delegated to: Bjorn Helgaas
Headers show
Series tools: PCI: Remove unused BILLION macro | expand

Commit Message

zhangjiao2 Sept. 11, 2024, 6:04 a.m. UTC
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(-)

Comments

Bjorn Helgaas Sept. 11, 2024, 1:54 p.m. UTC | #1
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
> 
> 
>
diff mbox series

Patch

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" };