diff options
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | 2016-05-01 18:05:31 +0530 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-13 19:39:20 -0400 |
commit | eea570788ebeb817a5ecb173dafc316779120081 (patch) | |
tree | 07a203f5c509cfc329c91bc35a404ed7395f7a43 /include/drm/drm_atomic.h | |
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>
Diffstat (limited to 'include/drm/drm_atomic.h')
0 files changed, 0 insertions, 0 deletions