Remove debug printfs.
authorTim Newsome <tim@sifive.com>
Sun, 1 May 2016 19:26:29 +0000 (12:26 -0700)
committerTim Newsome <tim@sifive.com>
Mon, 23 May 2016 19:12:11 +0000 (12:12 -0700)
riscv/devices.cc

index 4e88a1df4328e02d9be83263304c6c6224071f83..c7a63b0044b87e5a9a5dbd3df2958abd95699cd5 100644 (file)
@@ -7,12 +7,9 @@ void bus_t::add_device(reg_t addr, abstract_device_t* dev)
 
 bool bus_t::load(reg_t addr, size_t len, uint8_t* bytes)
 {
-  fprintf(stderr, "bus load(0x%lx, %ld)\n", addr, len);
   auto it = devices.lower_bound(-addr);
-  if (it == devices.end()) {
-      fprintf(stderr, "  -> false\n");
+  if (it == devices.end())
     return false;
-  }
   return it->second->load(addr - -it->first, len, bytes);
 }