Kernel: resolve Coverity warnings

This commit is contained in:
David van Moolenbroek
2012-08-15 11:12:11 +00:00
parent 0b5c2a058c
commit 8e116b71a1
5 changed files with 7 additions and 13 deletions
+1 -2
View File
@@ -932,6 +932,7 @@ static int mini_receive(struct proc * caller_ptr,
printf("mini_receive: sending notify from NONE\n");
}
#endif
assert(src_proc_nr != NONE);
unset_notify_pending(caller_ptr, src_id); /* no longer pending */
/* Found a suitable source, deliver the notification message. */
@@ -1250,8 +1251,6 @@ asyn_error:
}
return(OK);
return r;
}
/*===========================================================================*