From 6781543244105c880eb847dc59d1d801b10bdc4f Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Sun, 15 Jan 2017 16:39:12 -0600 Subject: [PATCH] passes/hierarchy: delete some dead code Signed-off-by: Austin Seipp --- passes/hierarchy/hierarchy.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/passes/hierarchy/hierarchy.cc b/passes/hierarchy/hierarchy.cc index 337af7fd7..f1c4a1d3b 100644 --- a/passes/hierarchy/hierarchy.cc +++ b/passes/hierarchy/hierarchy.cc @@ -175,16 +175,12 @@ bool expand_module(RTLIL::Design *design, RTLIL::Module *module, bool flag_check { filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".v"; if (check_file_exists(filename)) { - std::vector args; - args.push_back(filename); Frontend::frontend_call(design, NULL, filename, "verilog"); goto loaded_module; } filename = dir + "/" + RTLIL::unescape_id(cell->type) + ".il"; if (check_file_exists(filename)) { - std::vector args; - args.push_back(filename); Frontend::frontend_call(design, NULL, filename, "ilang"); goto loaded_module; } -- 2.30.2