From 738a5c7174173e41e73f93217a05dd310f599286 Mon Sep 17 00:00:00 2001 From: Bojan Rosko Date: Tue, 25 Feb 2025 14:26:22 +0000 Subject: [PATCH] precommit fix --- device/cluster.cpp | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/device/cluster.cpp b/device/cluster.cpp index 08419ae2..7992d565 100644 --- a/device/cluster.cpp +++ b/device/cluster.cpp @@ -262,9 +262,7 @@ void Cluster::create_device( } void Cluster::construct_cluster( - const uint32_t& num_host_mem_ch_per_mmio_device, - const bool create_mock_chips, - const bool clean_system_resources) { + const uint32_t& num_host_mem_ch_per_mmio_device, const bool create_mock_chips, const bool clean_system_resources) { if (!create_mock_chips) { auto available_device_ids = detect_available_device_ids(); log_info(LogSiliconDriver, "Detected PCI devices: {}", available_device_ids); @@ -448,10 +446,7 @@ Cluster::Cluster( // TODO: work on removing this member altogether. Currently assumes all have the same arch. arch_name = chips_.begin()->second->get_soc_descriptor().arch; - construct_cluster( - num_host_mem_ch_per_mmio_device, - create_mock_chips, - clean_system_resources); + construct_cluster(num_host_mem_ch_per_mmio_device, create_mock_chips, clean_system_resources); } Cluster::Cluster( @@ -477,10 +472,7 @@ Cluster::Cluster( // TODO: work on removing this member altogether. Currently assumes all have the same arch. arch_name = chips_.begin()->second->get_soc_descriptor().arch; - construct_cluster( - num_host_mem_ch_per_mmio_device, - create_mock_chips, - clean_system_resources); + construct_cluster(num_host_mem_ch_per_mmio_device, create_mock_chips, clean_system_resources); } Cluster::Cluster( @@ -518,10 +510,7 @@ Cluster::Cluster( // TODO: work on removing this member altogether. Currently assumes all have the same arch. arch_name = chips_.begin()->second->get_soc_descriptor().arch; - construct_cluster( - num_host_mem_ch_per_mmio_device, - create_mock_chips, - clean_system_resources); + construct_cluster(num_host_mem_ch_per_mmio_device, create_mock_chips, clean_system_resources); } Cluster::Cluster( @@ -543,10 +532,7 @@ Cluster::Cluster( // TODO: work on removing this member altogether. Currently assumes all have the same arch. arch_name = chips_.begin()->second->get_soc_descriptor().arch; - construct_cluster( - num_host_mem_ch_per_mmio_device, - create_mock_chips, - clean_system_resources); + construct_cluster(num_host_mem_ch_per_mmio_device, create_mock_chips, clean_system_resources); } void Cluster::configure_active_ethernet_cores_for_mmio_device(