Skip to content

Commit 8cb246a

Browse files
committed
grt: more simplifications
Signed-off-by: Eder Monteiro <[email protected]>
1 parent 3d56a37 commit 8cb246a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/grt/src/Pin.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,7 @@ bool Pin::isCorePin() const
192192
}
193193

194194
odb::dbInst* inst = iterm->getInst();
195-
if (inst->getMaster()->isCore()) {
196-
return true;
197-
}
198-
199-
return false;
195+
return inst->isCore();;
200196
}
201197

202198
} // namespace grt

0 commit comments

Comments
 (0)