Skip to content
Commit eea57078 authored by Muhammad Falak R Wani's avatar Muhammad Falak R Wani Committed by Doug Ledford
Browse files

staging/rdma/hfi1: use RCU_INIT_POINTER() when NULLing.



It is safe to use RCU_INIT_POINTER() to NULL a pointer, instead of
rcu_assign_pointer().
This results in slightly smaller/faster code.

Signed-off-by: default avatarMuhammad Falak R Wani <falakreyaz@gmail.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 3923979e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment