Remove unused `make_range_from_width()`
The last user of the `make_range_from_width()` was removed in commit
f6042033d0 ("Correctly handle separate port type declaration for
`integer` and `time`").
Remove the function itself as well.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
This commit is contained in:
parent
b69eff2ab1
commit
f1e50e927b
11
parse.y
11
parse.y
|
|
@ -149,17 +149,6 @@ static std::list<pform_port_t>* make_port_list(list<pform_port_t>*tmp,
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
list<pform_range_t>* make_range_from_width(uint64_t wid)
|
|
||||||
{
|
|
||||||
pform_range_t range;
|
|
||||||
range.first = new PENumber(new verinum(wid-1, integer_width));
|
|
||||||
range.second = new PENumber(new verinum((uint64_t)0, integer_width));
|
|
||||||
|
|
||||||
std::list<pform_range_t>*rlist = new std::list<pform_range_t>;
|
|
||||||
rlist->push_back(range);
|
|
||||||
return rlist;
|
|
||||||
}
|
|
||||||
|
|
||||||
static std::list<perm_string>* list_from_identifier(char*id)
|
static std::list<perm_string>* list_from_identifier(char*id)
|
||||||
{
|
{
|
||||||
std::list<perm_string>*tmp = new std::list<perm_string>;
|
std::list<perm_string>*tmp = new std::list<perm_string>;
|
||||||
|
|
|
||||||
1
pform.h
1
pform.h
|
|
@ -97,7 +97,6 @@ struct parmvalue_t {
|
||||||
struct str_pair_t { ivl_drive_t str0, str1; };
|
struct str_pair_t { ivl_drive_t str0, str1; };
|
||||||
|
|
||||||
|
|
||||||
extern std::list<pform_range_t>* make_range_from_width(uint64_t wid);
|
|
||||||
extern std::list<pform_range_t>* copy_range(std::list<pform_range_t>* orig);
|
extern std::list<pform_range_t>* copy_range(std::list<pform_range_t>* orig);
|
||||||
|
|
||||||
/* Use this function to transform the parted form of the attribute
|
/* Use this function to transform the parted form of the attribute
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue