Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2023.
[simgrid.git] / src / surf / host_clm03.cpp
index 77cb7cb..27deae6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -63,12 +63,6 @@ Action* HostCLM03Model::io_stream(s4u::Host* src_host, DiskImpl* src_disk, s4u::
   auto system = net_model->get_maxmin_system();
   auto* action = net_model->communicate(src_host, dst_host, size, -1, true);
 
-  size_t nb_disks       = 0;
-  if (src_disk != nullptr)
-    nb_disks++;
-  if (dst_disk != nullptr)
-    nb_disks++;
-
   // We don't want to apply the network model bandwidth factor to the I/O constraints
   double bw_factor = net_model->get_bandwidth_factor();
   if (src_disk != nullptr){