rm dead assignments

This commit is contained in:
dwarning 2021-04-23 10:53:08 +02:00 committed by Holger Vogt
parent d2f6ad239f
commit 45e397727b
2 changed files with 0 additions and 5 deletions

View File

@ -348,9 +348,6 @@ BJTload(GENmodel *inModel, CKTcircuit *ckt)
vrci=model->BJTtype*( vrci=model->BJTtype*(
*(ckt->CKTrhsOld+here->BJTcollCXNode)- *(ckt->CKTrhsOld+here->BJTcollCXNode)-
*(ckt->CKTrhsOld+here->BJTcolPrimeNode)); *(ckt->CKTrhsOld+here->BJTcolPrimeNode));
vsub=model->BJTtype*model->BJTsubs*(
*(ckt->CKTrhsOld+here->BJTsubstNode)-
*(ckt->CKTrhsOld+here->BJTsubstConNode));
#ifndef PREDICTOR #ifndef PREDICTOR
} }
#endif /* PREDICTOR */ #endif /* PREDICTOR */

View File

@ -228,7 +228,6 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt)
delTemp = *(ckt->CKTstate0 + here->VDMOSdelTemp); delTemp = *(ckt->CKTstate0 + here->VDMOSdelTemp);
/* calculate Vds for temperature conductance calculation /* calculate Vds for temperature conductance calculation
in bypass (used later when filling Temp node matrix) */ in bypass (used later when filling Temp node matrix) */
Vds = here->VDMOSmode > 0 ? vds : -vds;
cdrain = here->VDMOSmode * (here->VDMOScd); cdrain = here->VDMOSmode * (here->VDMOScd);
if (ckt->CKTmode & (MODETRAN | MODETRANOP)) { if (ckt->CKTmode & (MODETRAN | MODETRANOP)) {
capgs = (*(ckt->CKTstate0 + here->VDMOScapgs) + capgs = (*(ckt->CKTstate0 + here->VDMOScapgs) +
@ -259,7 +258,6 @@ VDMOSload(GENmodel *inModel, CKTcircuit *ckt)
, von); , von);
vds = vgs - vgd; vds = vgs - vgd;
vds = DEVlimvds(vds, *(ckt->CKTstate0 + here->VDMOSvds)); vds = DEVlimvds(vds, *(ckt->CKTstate0 + here->VDMOSvds));
vgd = vgs - vds;
} else { } else {
vgd = DEVfetlim(vgd, vgdo, von); vgd = DEVfetlim(vgd, vgdo, von);
vds = vgs - vgd; vds = vgs - vgd;