Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
CCXXXI committed Jan 10, 2021
1 parent ccbcab1 commit 72e39c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/userprog/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,6 @@ static void process_load_fail(void)
struct process *self = thread_current()->process;

self->status = PROCESS_FAILED;
self->exit_code = -1;

sema_up(&self->sema_load);

Expand Down

0 comments on commit 72e39c0

Please sign in to comment.