Skip to content

Commit cd9ca42

Browse files
authored
Remove unnecessary return in InlinerPass.cpp (#123507)
`void InlinerPass::runOnOperation()` doesn't need to have `return;` at the end of the procedure.
1 parent 4294fe1 commit cd9ca42

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/Transforms/InlinerPass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ void InlinerPass::runOnOperation() {
149149
// Run the inlining.
150150
if (failed(inliner.doInlining()))
151151
signalPassFailure();
152-
return;
153152
}
154153

155154
LogicalResult InlinerPass::initializeOptions(

0 commit comments

Comments
 (0)