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
|
@ -1616,12 +1616,12 @@ static void enqueue_head(struct proc *rp)
|
||||||
|
|
||||||
/* Now add the process to the queue. */
|
/* Now add the process to the queue. */
|
||||||
if (!rdy_head[q]) { /* add to empty queue */
|
if (!rdy_head[q]) { /* add to empty queue */
|
||||||
rdy_head[q] = rdy_tail[q] = rp; /* create a new queue */
|
rdy_head[q] = rdy_tail[q] = rp; /* create a new queue */
|
||||||
rp->p_nextready = NULL; /* mark new end */
|
rp->p_nextready = NULL; /* mark new end */
|
||||||
|
} else { /* add to head of queue */
|
||||||
|
rp->p_nextready = rdy_head[q]; /* chain head of queue */
|
||||||
|
rdy_head[q] = rp; /* set new queue head */
|
||||||
}
|
}
|
||||||
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 */
|
/* Make note of when this process was added to queue */
|
||||||
read_tsc_64(&(get_cpulocal_var(proc_ptr->p_accounting.enter_queue)));
|
read_tsc_64(&(get_cpulocal_var(proc_ptr->p_accounting.enter_queue)));
|
||||||
|
|
Loading…
Reference in a new issue