misc: Remove unused params() definitions

Lots of times the params() helper has been defined but not used

Change-Id: Id71829aca71341d46964d8f071099342b946b62f
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41613
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2021-02-18 11:13:45 +00:00
parent 92ba3ba843
commit 41928dac80
63 changed files with 69 additions and 68 deletions

View File

@@ -215,7 +215,7 @@ class DistEtherLink : public SimObject
Tick linkDelay;
public:
PARAMS(DistEtherLink);
using Params = DistEtherLinkParams;
DistEtherLink(const Params &p);
~DistEtherLink();

View File

@@ -55,7 +55,7 @@ class EtherBus : public SimObject
EtherDump *dump;
public:
PARAMS(EtherBus);
using Params = EtherBusParams;
EtherBus(const Params &p);
virtual ~EtherBus() {}

View File

@@ -45,7 +45,7 @@ class EtherInt;
class EtherDevice : public PciDevice
{
public:
PARAMS(EtherDevice);
using Params = EtherDeviceParams;
EtherDevice(const Params &params)
: PciDevice(params),
etherDeviceStats(this)
@@ -140,7 +140,7 @@ class EtherDevice : public PciDevice
class EtherDevBase : public EtherDevice
{
public:
PARAMS(EtherDevBase);
using Params = EtherDevBaseParams;
EtherDevBase(const Params &params)
: EtherDevice(params)
{}

View File

@@ -140,7 +140,7 @@ class EtherLink : public SimObject
Interface *interface[2];
public:
PARAMS(EtherLink);
using Params = EtherLinkParams;
EtherLink(const Params &p);
virtual ~EtherLink();

View File

@@ -51,7 +51,7 @@
class EtherSwitch : public SimObject
{
public:
PARAMS(EtherSwitch);
using Params = EtherSwitchParams;
EtherSwitch(const Params &p);
~EtherSwitch();

View File

@@ -56,7 +56,7 @@ class EtherTapInt;
class EtherTapBase : public SimObject
{
public:
PARAMS(EtherTapBase);
using Params = EtherTapBaseParams;
EtherTapBase(const Params &p);
virtual ~EtherTapBase();
@@ -130,7 +130,7 @@ class TapListener;
class EtherTapStub : public EtherTapBase
{
public:
PARAMS(EtherTapStub);
using Params = EtherTapStubParams;
EtherTapStub(const Params &p);
~EtherTapStub();
@@ -159,7 +159,7 @@ class EtherTapStub : public EtherTapBase
class EtherTap : public EtherTapBase
{
public:
PARAMS(EtherTap);
using Params = EtherTapParams;
EtherTap(const Params &p);
~EtherTap();