remove a redundant check

This commit is contained in:
chinhodado committed 2014-02-15 19:39:13 -05:00
1 parent d22793e257
commit 23cce7d25a
1 file changed
+1 -1
+1 -1
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);