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:
parent
6d5d370e8c
commit
e296246c92
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Reference in New Issue