[llvm] [BOLT] Tidy up code (PR #92927)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 08:57:26 PDT 2024


================
@@ -36,7 +36,6 @@ static void getKernelVersion(uint32_t *Val) {
   // release should be in the format: %d.%d.%d
   // major, minor, release
   struct UtsNameTy UtsName;
-  int Ret = __uname(&UtsName);
----------------
aaupov wrote:

Can't remove setting UtsName

https://github.com/llvm/llvm-project/pull/92927


More information about the llvm-commits mailing list