Kernel: correct a case of misleading indentation

Reported by Coverity.

Change-Id: If5d8a890052918f59fcc966759e4676fc4c894f0
This commit is contained in:
David van Moolenbroek 2013-10-22 14:44:39 +00:00
parent daf0e5cc89
commit 9068050135

View file

@ -1616,12 +1616,12 @@ static void enqueue_head(struct proc *rp)
/* Now add the process to the queue. */
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 */
rdy_head[q] = rdy_tail[q] = rp; /* create a new queue */
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 */
read_tsc_64(&(get_cpulocal_var(proc_ptr->p_accounting.enter_queue)));