flowtop: rcu: omit rcu_assign_pointer
commit99c9e3033abe511190bcf86c9d7578c6d8026b85
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 16 Mar 2013 16:06:21 +0000 (16 17:06 +0100)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 16 Mar 2013 16:06:21 +0000 (16 17:06 +0100)
tree7cb147f0d40538a848c26ef0fd241eab7aab7512
parent46c917dd2b4f2e126f6dbe074803323200a11d55
flowtop: rcu: omit rcu_assign_pointer

If the new pointer is NULL anyway, this results in a constant expression
during compile time (NULL != NULL) where a barrier is left out. Thus, it
will have no different effect using rcu_assign_pointer() than assigning
it directly.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
flowtop.c