devices/**/XXXdel.c, cleanup braces
This commit is contained in:
parent
e2175232a9
commit
5d19be9030
|
|
@ -27,11 +27,11 @@ BSIM3model *model = (BSIM3model*)inModel;
|
|||
BSIM3instance **prev = NULL;
|
||||
BSIM3instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM3nextModel)
|
||||
{ prev = &(model->BSIM3instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM3name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM3nextInstance;
|
||||
for (; model ; model = model->BSIM3nextModel) {
|
||||
prev = &(model->BSIM3instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM3name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM3nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@ B3SOIDDmodel *model = (B3SOIDDmodel*)inModel;
|
|||
B3SOIDDinstance **prev = NULL;
|
||||
B3SOIDDinstance *here;
|
||||
|
||||
for (; model ; model = model->B3SOIDDnextModel)
|
||||
{ prev = &(model->B3SOIDDinstances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->B3SOIDDname == name || (fast && here==*fast))
|
||||
{ *prev= here->B3SOIDDnextInstance;
|
||||
for (; model ; model = model->B3SOIDDnextModel) {
|
||||
prev = &(model->B3SOIDDinstances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->B3SOIDDname == name || (fast && here==*fast)) {
|
||||
*prev= here->B3SOIDDnextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@ B3SOIFDmodel *model = (B3SOIFDmodel*)inModel;
|
|||
B3SOIFDinstance **prev = NULL;
|
||||
B3SOIFDinstance *here;
|
||||
|
||||
for (; model ; model = model->B3SOIFDnextModel)
|
||||
{ prev = &(model->B3SOIFDinstances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->B3SOIFDname == name || (fast && here==*fast))
|
||||
{ *prev= here->B3SOIFDnextInstance;
|
||||
for (; model ; model = model->B3SOIFDnextModel) {
|
||||
prev = &(model->B3SOIFDinstances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->B3SOIFDname == name || (fast && here==*fast)) {
|
||||
*prev= here->B3SOIFDnextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@ B3SOIPDmodel *model = (B3SOIPDmodel*)inModel;
|
|||
B3SOIPDinstance **prev = NULL;
|
||||
B3SOIPDinstance *here;
|
||||
|
||||
for (; model ; model = model->B3SOIPDnextModel)
|
||||
{ prev = &(model->B3SOIPDinstances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->B3SOIPDname == name || (fast && here==*fast))
|
||||
{ *prev= here->B3SOIPDnextInstance;
|
||||
for (; model ; model = model->B3SOIPDnextModel) {
|
||||
prev = &(model->B3SOIPDinstances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->B3SOIPDname == name || (fast && here==*fast)) {
|
||||
*prev= here->B3SOIPDnextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@ BSIM3v0model *model = (BSIM3v0model*)inModel;
|
|||
BSIM3v0instance **prev = NULL;
|
||||
BSIM3v0instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM3v0nextModel)
|
||||
{ prev = &(model->BSIM3v0instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM3v0name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM3v0nextInstance;
|
||||
for (; model ; model = model->BSIM3v0nextModel) {
|
||||
prev = &(model->BSIM3v0instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM3v0name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM3v0nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,11 +26,11 @@ BSIM3v1model *model = (BSIM3v1model*)inModel;
|
|||
BSIM3v1instance **prev = NULL;
|
||||
BSIM3v1instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM3v1nextModel)
|
||||
{ prev = &(model->BSIM3v1instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM3v1name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM3v1nextInstance;
|
||||
for (; model ; model = model->BSIM3v1nextModel) {
|
||||
prev = &(model->BSIM3v1instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM3v1name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM3v1nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,11 +25,11 @@ BSIM3v32model *model = (BSIM3v32model*)inModel;
|
|||
BSIM3v32instance **prev = NULL;
|
||||
BSIM3v32instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM3v32nextModel)
|
||||
{ prev = &(model->BSIM3v32instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM3v32name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM3v32nextInstance;
|
||||
for (; model ; model = model->BSIM3v32nextModel) {
|
||||
prev = &(model->BSIM3v32instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM3v32name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM3v32nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,11 +76,11 @@ BSIM4model *model = (BSIM4model*)inModel;
|
|||
BSIM4instance **prev = NULL;
|
||||
BSIM4instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM4nextModel)
|
||||
{ prev = &(model->BSIM4instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM4name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM4nextInstance;
|
||||
for (; model ; model = model->BSIM4nextModel) {
|
||||
prev = &(model->BSIM4instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM4name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM4nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,11 +26,11 @@ BSIM4v5model *model = (BSIM4v5model*)inModel;
|
|||
BSIM4v5instance **prev = NULL;
|
||||
BSIM4v5instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM4v5nextModel)
|
||||
{ prev = &(model->BSIM4v5instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM4v5name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM4v5nextInstance;
|
||||
for (; model ; model = model->BSIM4v5nextModel) {
|
||||
prev = &(model->BSIM4v5instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM4v5name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM4v5nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ BSIM4v6model *model = (BSIM4v6model*)inModel;
|
|||
BSIM4v6instance **prev = NULL;
|
||||
BSIM4v6instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM4v6nextModel)
|
||||
{ prev = &(model->BSIM4v6instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM4v6name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM4v6nextInstance;
|
||||
for (; model ; model = model->BSIM4v6nextModel) {
|
||||
prev = &(model->BSIM4v6instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM4v6name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM4v6nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ BSIM4v7model *model = (BSIM4v7model*)inModel;
|
|||
BSIM4v7instance **prev = NULL;
|
||||
BSIM4v7instance *here;
|
||||
|
||||
for (; model ; model = model->BSIM4v7nextModel)
|
||||
{ prev = &(model->BSIM4v7instances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->BSIM4v7name == name || (fast && here==*fast))
|
||||
{ *prev= here->BSIM4v7nextInstance;
|
||||
for (; model ; model = model->BSIM4v7nextModel) {
|
||||
prev = &(model->BSIM4v7instances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->BSIM4v7name == name || (fast && here==*fast)) {
|
||||
*prev= here->BSIM4v7nextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,11 +33,11 @@ B4SOImodel *model = (B4SOImodel*)inModel;
|
|||
B4SOIinstance **prev = NULL;
|
||||
B4SOIinstance *here;
|
||||
|
||||
for (; model ; model = model->B4SOInextModel)
|
||||
{ prev = &(model->B4SOIinstances);
|
||||
for (here = *prev; here ; here = *prev)
|
||||
{ if (here->B4SOIname == name || (fast && here==*fast))
|
||||
{ *prev= here->B4SOInextInstance;
|
||||
for (; model ; model = model->B4SOInextModel) {
|
||||
prev = &(model->B4SOIinstances);
|
||||
for (here = *prev; here ; here = *prev) {
|
||||
if (here->B4SOIname == name || (fast && here==*fast)) {
|
||||
*prev= here->B4SOInextInstance;
|
||||
FREE(here);
|
||||
return(OK);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue