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