eliminate redundant code

This commit is contained in:
Jeff Hill
2001-06-21 00:29:55 +00:00
parent 99df1b5584
commit da412768fa

View File

@@ -962,12 +962,10 @@ void cac::flushIfRequired ( nciu &chan )
// send thread. The same applies to the UDP thread for
// locking hierarchy reasons.
bool blockPermit = true;
if ( this->pRecvProcThread ) {
if ( this->recvProcessThreadIsCurrentThread () ) {
blockPermit = false;
}
if ( this->recvProcessThreadIsCurrentThread () ) {
blockPermit = false;
}
if ( this->pudpiiu ) {
if ( this->pudpiiu && blockPermit ) {
if ( this->pudpiiu->isCurrentThread () ) {
blockPermit = false;
}