AntoinePrv commented on code in PR #47152:
URL: https://github.com/apache/arrow/pull/47152#discussion_r2219265204


##########
cpp/src/arrow/util/cpu_info.cc:
##########
@@ -550,7 +574,9 @@ const CpuInfo* CpuInfo::GetInstance() {
 
 int64_t CpuInfo::hardware_flags() const { return impl_->hardware_flags; }
 
-int CpuInfo::num_cores() const { return impl_->num_cores <= 0 ? 1 : 
impl_->num_cores; }

Review Comment:
   The check was and is unused.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to