From 2d51deea0c96cf8270e3764a55e0e5f5bbcca3eb Mon Sep 17 00:00:00 2001 From: Niklas Eiling Date: Wed, 3 Jan 2024 11:44:32 +0100 Subject: [PATCH] remove vfio container intitialization from setupFPGACard this lead to double creation of the vfio container Signed-off-by: Niklas Eiling --- fpga/lib/utils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/fpga/lib/utils.cpp b/fpga/lib/utils.cpp index f07a590c7..99b42eeb3 100644 --- a/fpga/lib/utils.cpp +++ b/fpga/lib/utils.cpp @@ -209,7 +209,6 @@ int fpga::createCards(json_t *config, std::shared_ptr fpga::setupFpgaCard(const std::string &configFile, const std::string &fpgaName) { - auto vfioContainer = std::make_shared(); auto configDir = std::filesystem::path(configFile).parent_path(); // Parse FPGA configuration