From b95d165981213ebdfba8862a5990e9891a5691f3 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/dram.h') 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