summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMahmoud Khairy A. Abdallah <[email protected]>2021-05-19 22:20:04 -0400
committerMahmoud Khairy A. Abdallah <[email protected]>2021-05-19 22:20:04 -0400
commitb466afea67e6d6faf49f01ecfe378257fbdb93af (patch)
tree9ff19b788c00c90e86c3cda123fc7cae28f62d85 /src
parent8aee56d7401af9a91a1de3adae1b61329e0d30e5 (diff)
eliminate redundant code in gpu-cache.h
Diffstat (limited to 'src')
-rw-r--r--src/gpgpu-sim/gpu-cache.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gpgpu-sim/gpu-cache.h b/src/gpgpu-sim/gpu-cache.h
index 91cde7e..6698d92 100644
--- a/src/gpgpu-sim/gpu-cache.h
+++ b/src/gpgpu-sim/gpu-cache.h
@@ -596,16 +596,6 @@ class cache_config {
default:
exit_parse_error();
}
- switch (rp) {
- case 'L':
- m_replacement_policy = LRU;
- break;
- case 'F':
- m_replacement_policy = FIFO;
- break;
- default:
- exit_parse_error();
- }
switch (wp) {
case 'R':
m_write_policy = READ_ONLY;