rcu: Remove unnecessary condition check in rcu_qsctr_help()
authorAlexander Gordeev <agordeev@redhat.com>
Wed, 11 Feb 2015 14:42:37 +0000 (15:42 +0100)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 Feb 2015 20:11:52 +0000 (12:11 -0800)
commit27153acbe1141ceecf098ca5d24c2ae2714c1a5f
treee9582d6d28a27b75aab17fbc0a94dd7e3fb38ea5
parentc517d838eb7d07bbe9507871fab3931deccff539
rcu: Remove unnecessary condition check in rcu_qsctr_help()

When the ->curtail and ->donetail pointers differ, ->rcucblist
always points to the beginning of the current list and thus
cannot be NULL. Therefore, the check ->rcucblist != NULL is
redundant and this commit removes it.

Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tiny.c