1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fpga: do not reset VFIO container by hand

We can rely on the Dtor of the global shared_ptr to destruct the container

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2022-12-07 17:04:45 +01:00
parent 20ffee08e4
commit 1c7d57d5f5
2 changed files with 0 additions and 10 deletions

View file

@ -114,9 +114,6 @@ public:
virtual
int start(SuperNode *sn);
virtual
int stop();
};
} /* namespace node */

View file

@ -259,11 +259,4 @@ int FpgaNodeFactory::start(SuperNode *sn)
return 0;
}
int FpgaNodeFactory::stop()
{
vfioContainer.reset(); // TODO: is this the proper way?
return 0;
}
static FpgaNodeFactory p;