commit | eea570788ebeb817a5ecb173dafc316779120081 | [log] [tgz] |
---|---|---|
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | Sun May 01 18:05:31 2016 +0530 |
committer | Doug Ledford <dledford@redhat.com> | Fri May 13 19:39:20 2016 -0400 |
tree | 07a203f5c509cfc329c91bc35a404ed7395f7a43 | |
parent | 3923979e9bc6aa6f168a644314d6729e9f98eccc [diff] |
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: Muhammad Falak R Wani <falakreyaz@gmail.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>