Skip to content

Commit ced0470

Browse files
committed
Minor change
Signed-off-by: Jaehyun Kim <[email protected]>
1 parent 36237d6 commit ced0470

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/dbSta/src/dbNetwork.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,9 +1221,7 @@ Pin* dbNetwork::findPin(const Instance* instance, const char* port_name) const
12211221
dbModBTerm* mbterm = module->findModBTerm(port_name);
12221222
if (mbterm) {
12231223
dbModITerm* moditerm = mbterm->getParentModITerm();
1224-
if (moditerm) {
1225-
return dbToSta(moditerm);
1226-
}
1224+
return dbToSta(moditerm);
12271225
}
12281226
}
12291227
return nullptr;

0 commit comments

Comments
 (0)