[Mlir-commits] [mlir] f250fbc - [mlir] Apply ClangTidy fix (NFC)
Adrian Kuegel
llvmlistbot at llvm.org
Mon Jul 10 02:47:38 PDT 2023
Author: Adrian Kuegel
Date: 2023-07-10T11:46:32+02:00
New Revision: f250fbcbbbc5013e9d62e970f8858b17f488d022
URL: https://github.com/llvm/llvm-project/commit/f250fbcbbbc5013e9d62e970f8858b17f488d022
DIFF: https://github.com/llvm/llvm-project/commit/f250fbcbbbc5013e9d62e970f8858b17f488d022.diff
LOG: [mlir] Apply ClangTidy fix (NFC)
The return statement is redundant.
Added:
Modified:
mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
Removed:
################################################################################
diff --git a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
index 144f35c84dfe6b..545dca6f9bdf1c 100644
--- a/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
+++ b/mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
@@ -291,7 +291,6 @@ extern "C" MLIR_CUDA_WRAPPERS_EXPORT void mgpuCreateSparseEnv() {
ScopedContext scopedContext;
assert(!cusparse_env && "client called mgpuCreateSparseEnv() twice");
CUSPARSE_REPORT_IF_ERROR(cusparseCreate(&cusparse_env));
- return;
}
extern "C" MLIR_CUDA_WRAPPERS_EXPORT void mgpuDestroySparseEnv() {
More information about the Mlir-commits
mailing list