One last correction, as I accidentally dropped two calls to

getCurDevMult() inside spcHierWriteParams(), where it was being
passed as an argument, therefore making a redundant call and
wasting compute cycles.
This commit is contained in:
Tim Edwards 2019-06-07 21:39:37 -04:00
parent 6d5d370e8c
commit e296246c92
1 changed files with 0 additions and 2 deletions

View File

@ -182,7 +182,6 @@ spcHierWriteParams(hc, dev, scale, l, w, sdM)
// For parameter an followed by parameter pn,
// process both at the same time
sdM = getCurDevMult();
if (plist->parm_next && plist->parm_next->parm_type[0] ==
'p' && plist->parm_next->parm_type[1] ==
plist->parm_type[1])
@ -229,7 +228,6 @@ spcHierWriteParams(hc, dev, scale, l, w, sdM)
// For parameter pn followed by parameter an,
// process both at the same time
sdM = getCurDevMult();
if (plist->parm_next && plist->parm_next->parm_type[0] ==
'a' && plist->parm_next->parm_type[1] ==
plist->parm_type[1])