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:
parent
20ffee08e4
commit
1c7d57d5f5
2 changed files with 0 additions and 10 deletions
|
@ -114,9 +114,6 @@ public:
|
|||
|
||||
virtual
|
||||
int start(SuperNode *sn);
|
||||
|
||||
virtual
|
||||
int stop();
|
||||
};
|
||||
|
||||
} /* namespace node */
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue