diff --git a/flang/lib/Lower/OpenACC.cpp b/flang/lib/Lower/OpenACC.cpp index 59db5ab71b702..ecf70818c4ac0 100644 --- a/flang/lib/Lower/OpenACC.cpp +++ b/flang/lib/Lower/OpenACC.cpp @@ -1783,7 +1783,6 @@ createComputeOp(Fortran::lower::AbstractConverter &converter, // Parallel operation operands mlir::Value ifCond; mlir::Value selfCond; - mlir::Value waitDevnum; llvm::SmallVector waitOperands, attachEntryOperands, copyEntryOperands, copyoutEntryOperands, createEntryOperands, dataClauseOperands, numGangs, numWorkers, vectorLength, async;