Remove unused `calculate_count()` function

The templatized version of `calculate_count()` that is used on a data type
is not used. Remove it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
Lars-Peter Clausen 2022-05-15 22:19:10 +02:00
parent f50cc35d2f
commit 4b66d40d62
1 changed files with 0 additions and 9 deletions

View File

@ -537,15 +537,6 @@ static unsigned calculate_count(const list<netrange_t>&unpacked)
return sum;
}
template <class T> 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_);