Skip to content

Commit

Permalink
Removes unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
HAKarlsson committed Nov 29, 2024
1 parent 47162cd commit 6ca735a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ docs
*.res
compile_commands.json
.cache
.ccls-cache
1 change: 0 additions & 1 deletion kernel/src/cap_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ err_t cap_monitor_yield(cte_t mon, pid_t pid, proc_t **next)
{
err_t err = check_monitor(mon, pid, false);
if (!err) {
proc_t *monitor = *next;
proc_t *proc = proc_get(pid);
if (proc_acquire(proc)) {
*next = proc;
Expand Down

0 comments on commit 6ca735a

Please sign in to comment.