libfreerdp-chanman: remove unneeded checking.

This commit is contained in:
Vic Lee 2011-07-10 21:52:19 +08:00
parent 823ae345da
commit e88d209d0c

View File

@ -408,11 +408,6 @@ static uint32 FREERDP_CC MyVirtualChannelClose(uint32 openHandle)
DEBUG_CHANMAN("error bad chanhan");
return CHANNEL_RC_BAD_CHANNEL_HANDLE;
}
if (!chan_man->is_connected)
{
DEBUG_CHANMAN("error not connected");
return CHANNEL_RC_NOT_CONNECTED;
}
lchan = chan_man->chans + index;
if (lchan->flags != 2)
{