remove a redundant check

This commit is contained in:
chinhodado 2014-02-15 19:39:13 -05:00
parent d22793e257
commit 23cce7d25a

View file

@ -3402,7 +3402,7 @@ void __KernelReturnFromMipsCall()
{
if (call->cbId > 0)
{
if (waitTypeFuncs[cur->nt.waitType].endFunc != NULL && call->cbId > 0)
if (waitTypeFuncs[cur->nt.waitType].endFunc != NULL)
waitTypeFuncs[cur->nt.waitType].endFunc(cur->GetUID(), cur->currentCallbackId);
else
ERROR_LOG_REPORT(HLE, "Missing begin/restore funcs for wait type %d", cur->nt.waitType);