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:
@@ -215,7 +215,7 @@ class DistEtherLink : public SimObject
|
||||
Tick linkDelay;
|
||||
|
||||
public:
|
||||
PARAMS(DistEtherLink);
|
||||
using Params = DistEtherLinkParams;
|
||||
DistEtherLink(const Params &p);
|
||||
~DistEtherLink();
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ class EtherBus : public SimObject
|
||||
EtherDump *dump;
|
||||
|
||||
public:
|
||||
PARAMS(EtherBus);
|
||||
using Params = EtherBusParams;
|
||||
EtherBus(const Params &p);
|
||||
virtual ~EtherBus() {}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ class EtherInt;
|
||||
class EtherDevice : public PciDevice
|
||||
{
|
||||
public:
|
||||
PARAMS(EtherDevice);
|
||||
using Params = EtherDeviceParams;
|
||||
EtherDevice(const Params ¶ms)
|
||||
: 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 ¶ms)
|
||||
: EtherDevice(params)
|
||||
{}
|
||||
|
||||
@@ -140,7 +140,7 @@ class EtherLink : public SimObject
|
||||
Interface *interface[2];
|
||||
|
||||
public:
|
||||
PARAMS(EtherLink);
|
||||
using Params = EtherLinkParams;
|
||||
EtherLink(const Params &p);
|
||||
virtual ~EtherLink();
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
class EtherSwitch : public SimObject
|
||||
{
|
||||
public:
|
||||
PARAMS(EtherSwitch);
|
||||
using Params = EtherSwitchParams;
|
||||
|
||||
EtherSwitch(const Params &p);
|
||||
~EtherSwitch();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user