rcu: convert uses of rcu_assign_pointer(x, NULL) to RCU_INIT_POINTER
[deliverable/linux.git] / net / 802 / garp.c
index 16102951d36aa39cdda6953f36c78320cb0a965b..070bf4403bf8fdde83a99c60c4c7b20b50ed831d 100644 (file)
@@ -553,7 +553,7 @@ static void garp_release_port(struct net_device *dev)
                if (rtnl_dereference(port->applicants[i]))
                        return;
        }
-       rcu_assign_pointer(dev->garp_port, NULL);
+       RCU_INIT_POINTER(dev->garp_port, NULL);
        kfree_rcu(port, rcu);
 }
 
@@ -605,7 +605,7 @@ void garp_uninit_applicant(struct net_device *dev, struct garp_application *appl
 
        ASSERT_RTNL();
 
-       rcu_assign_pointer(port->applicants[appl->type], NULL);
+       RCU_INIT_POINTER(port->applicants[appl->type], NULL);
 
        /* Delete timer and generate a final TRANSMIT_PDU event to flush out
         * all pending messages before the applicant is gone. */
This page took 0.024608 seconds and 5 git commands to generate.