LibertyReader::visitCellUserFunctionClass remove redundant stringCopy

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-10-19 16:10:51 -07:00
parent 26f20e48b5
commit b0804a01f2
1 changed files with 1 additions and 1 deletions

View File

@ -3085,7 +3085,7 @@ LibertyReader::visitCellUserFunctionClass(LibertyAttr *attr)
if (cell_) {
const char *user_function_class = getAttrString(attr);
if (user_function_class)
cell_->setUserFunctionClass(stringCopy(user_function_class));
cell_->setUserFunctionClass(user_function_class);
}
}