Kernel: correct a case of misleading indentation
Reported by Coverity. Change-Id: If5d8a890052918f59fcc966759e4676fc4c894f0
This commit is contained in:
parent
daf0e5cc89
commit
9068050135
1 changed files with 5 additions and 5 deletions
|
@ -1618,10 +1618,10 @@ static void enqueue_head(struct proc *rp)
|
|||
if (!rdy_head[q]) { /* add to empty queue */
|
||||
rdy_head[q] = rdy_tail[q] = rp; /* create a new queue */
|
||||
rp->p_nextready = NULL; /* mark new end */
|
||||
}
|
||||
else /* add to head of queue */
|
||||
} else { /* add to head of queue */
|
||||
rp->p_nextready = rdy_head[q]; /* chain head of queue */
|
||||
rdy_head[q] = rp; /* set new queue head */
|
||||
}
|
||||
|
||||
/* Make note of when this process was added to queue */
|
||||
read_tsc_64(&(get_cpulocal_var(proc_ptr->p_accounting.enter_queue)));
|
||||
|
|
Loading…
Reference in a new issue