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

removed unused code

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
Pascal Bauer 2024-08-23 21:53:29 +02:00 committed by Niklas Eiling
parent a33d67b34a
commit 73fc214ead

View file

@ -462,11 +462,6 @@ std::fstream PciDevice::openSysFs(const std::string &subPath,
// TODO: test
std::string PciDevice::name() const {
int ret;
char *group;
// readlink() does not add a null terminator!
char link[1024] = {0};
char sysfs[1024];
snprintf(sysfs, sizeof(sysfs),