rcutorture: Removing redundant function pointer initialization
authorZqiang <qiang.zhang1211@gmail.com>
Mon, 18 Mar 2024 09:34:12 +0000 (17:34 +0800)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Tue, 16 Apr 2024 09:16:36 +0000 (11:16 +0200)
commit710cf51d3722012988b2b8d35dee3c553dcc5649
tree18798299972a40dd93cb81f84e4bf3f500b0af36
parentdddcddef1414be3ebc37a40d13fcc0f6a672ba9f
rcutorture: Removing redundant function pointer initialization

For these rcu_torture_ops structure's objects defined by using static,
if the value of the function pointer in its member is not set, the default
value will be NULL, this commit therefore remove the pre-existing
initialization of function pointers to NULL.

Signed-off-by: Zqiang <qiang.zhang1211@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
kernel/rcu/rcutorture.c