Re: [PATCH] tools: PCI: Remove unused BILLION macro

From: Bjorn Helgaas
Date: Wed Sep 11 2024 - 09:58:01 EST


On Wed, Sep 11, 2024 at 02:04:01PM +0800, zhangjiao2 wrote:
> From: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
>
> The macro BILLION is never referenced in the code.
> Just remove it.
>
> Signed-off-by: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>

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
>
>
>