rcu: Eliminate redundant NULL-pointer check
authorPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 21 Mar 2019 23:29:50 +0000 (16:29 -0700)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 26 Mar 2019 21:38:38 +0000 (14:38 -0700)
commita2badefa8574a7a424a72f67a3bd43248141f76a
tree96791541a911d84c1fed3f714058d4c405eba1a0
parent5d8a752e31aaa4c9703f201956a40b45ed791217
rcu: Eliminate redundant NULL-pointer check

Because rcu_wake_cond() checks for a null task_struct pointer, there is
no need for its callers to do so.  This commit eliminates the redundant
check.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree_plugin.h