summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/testers/traffic_gen')
-rw-r--r--src/cpu/testers/traffic_gen/traffic_gen.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/cpu/testers/traffic_gen/traffic_gen.cc b/src/cpu/testers/traffic_gen/traffic_gen.cc
index e4759512d..9f3192656 100644
--- a/src/cpu/testers/traffic_gen/traffic_gen.cc
+++ b/src/cpu/testers/traffic_gen/traffic_gen.cc
@@ -331,13 +331,8 @@ TrafficGen::parseConfig()
blocksize, page_size);
if (nbr_of_banks_util > nbr_of_banks_DRAM)
- fatal("Attempting to use more banks (%) than "
- "what is available (%)\n",
- nbr_of_banks_util, nbr_of_banks_DRAM);
-
- if (nbr_of_banks_util > nbr_of_banks_DRAM)
- fatal("Attempting to use more banks (%) than "
- "what is available (%)\n",
+ fatal("Attempting to use more banks (%d) than "
+ "what is available (%d)\n",
nbr_of_banks_util, nbr_of_banks_DRAM);
// count the number of sequential packets to