Commit 0bbdf46e authored by Shivaji's avatar Shivaji

Merge branch 'lru-sample' into 'master'

removed extra atomic clear operation

See merge request !4
parents 437fe488 7f36155c
...@@ -100,7 +100,6 @@ int find_empty_location() ...@@ -100,7 +100,6 @@ int find_empty_location()
{ {
if(array[i]->valid == FALSE) if(array[i]->valid == FALSE)
{ {
CLEAR(&(lock),0);
return i; return i;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment