Revert "Added a type cast in ext2spice/ext2hier.c to avoid having the"

This reverts commit a3d02d92cc.
This commit is contained in:
Darryl L. Miles 2025-08-05 19:28:57 +01:00 committed by R. Timothy Edwards
parent 3472474617
commit 7ab4911514
1 changed files with 2 additions and 2 deletions

View File

@ -1183,7 +1183,7 @@ spcdevHierMergeVisit(
for (cfp = devMergeList; cfp != NULL; cfp = cfp->next) for (cfp = devMergeList; cfp != NULL; cfp = cfp->next)
{ {
if ((pmode = parallelDevs(fp, (devMerge *)cfp)) != NOT_PARALLEL) if ((pmode = parallelDevs(fp, cfp)) != NOT_PARALLEL)
{ {
/* To-do: add back source, drain attribute check */ /* To-do: add back source, drain attribute check */
@ -1619,7 +1619,7 @@ devMergeHierVisit(
for (cfp = devMergeList; cfp != NULL; cfp = cfp->next) for (cfp = devMergeList; cfp != NULL; cfp = cfp->next)
{ {
if ((pmode = parallelDevs(fp, (devMerge *)cfp)) != NOT_PARALLEL) if ((pmode = parallelDevs(fp, cfp)) != NOT_PARALLEL)
{ {
cf = cfp->dev; cf = cfp->dev;
cg = &cfp->dev->dev_terms[0]; cg = &cfp->dev->dev_terms[0];