mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
Removed dead code
This sanity check (checking top_index != 0) which has been disabled earlier in bli_pool_reinit() by commenting out bli_abort() was unnecessarily computing top_index - this whole statement is commented out. Change-Id: If296754ca8cba3a69d023d4a7ec891f1cbce1d6a
This commit is contained in:
committed by
Dipal M Zambare
parent
09bfe3e372
commit
5ecb4fd0db
@@ -122,6 +122,7 @@ void bli_pool_finalize
|
||||
// Query the total number of blocks currently allocated.
|
||||
const siz_t num_blocks = bli_pool_num_blocks( pool );
|
||||
|
||||
#if 0 // Removing dead code
|
||||
// Query the top_index of the pool.
|
||||
const siz_t top_index = bli_pool_top_index( pool );
|
||||
|
||||
@@ -142,6 +143,8 @@ void bli_pool_finalize
|
||||
//bli_abort();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
// Query the free() function pointer for the pool.
|
||||
free_ft free_fp = bli_pool_free_fp( pool );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user