diff --git a/netlist.cc b/netlist.cc index 732df78e5..5fbcb885c 100644 --- a/netlist.cc +++ b/netlist.cc @@ -537,15 +537,6 @@ static unsigned calculate_count(const list&unpacked) return sum; } -template static unsigned calculate_count(T*type) -{ - long wid = type->packed_width(); - if (wid >= 0) - return wid; - else - return 1; -} - void NetNet::calculate_slice_widths_from_packed_dims_(void) { ivl_assert(*this, net_type_);