From 035eba9d7a3b1c68b57bf954d0e3983d6e5f11e5 Mon Sep 17 00:00:00 2001 From: Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> Date: Sun, 9 Mar 2025 12:49:31 -0400 Subject: Code review comments --- inc/dram.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'inc') diff --git a/inc/dram.h b/inc/dram.h index ec35e3f..1061d6b 100644 --- a/inc/dram.h +++ b/inc/dram.h @@ -19,10 +19,7 @@ class Dram : public Storage Response read(Accessor accessor, int address, std::array& data) override; private: - void do_read(std::array& data_line, int address){ - int line = address / LINE_SIZE; - data_line = this->data->at(line); - } + void do_read(std::array& data_line, int address); }; #endif /* DRAM_H_INCLUDED */ -- cgit v1.2.3