Skip to content

Commit

Permalink
Removed unused legacy code.
Browse files Browse the repository at this point in the history
  • Loading branch information
oTTer-Chief committed Sep 16, 2016
1 parent a04c806 commit 6f1ffb3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/flib_server/shm_channel_server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,6 @@ template <typename T_DESC, typename T_DATA> class shm_channel_server {
L_(trace) << "fetching write_index: data " << write_index.index.data
<< " desc " << write_index.index.desc;
lock.lock();
#if 0
// TODO remove when mc_time instead of mc_index is used in desc.
if (true) {
DualIndex read_index = m_shm_ch->read_index(lock);
if (read_index.desc < write_index.index.desc) {
assert(m_desc_buffer_view->at(write_index.index.desc - 1).idx ==
write_index.index.desc - 1);
}
}
#endif
m_shm_ch->set_write_index(lock, write_index);
}

Expand Down

0 comments on commit 6f1ffb3

Please sign in to comment.