diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 75202f2638c4..c7cf5d1c7b9e 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -2445,8 +2445,6 @@ class HelpPrinter { return cl::getDPCTCategory(); break; } - - return cl::getDPCTCategory(); } #endif // SYCLomatic_CUSTOMIZATION