]> git.baikalelectronics.ru Git - kernel.git/commit
cnic: Simplify netdev events handling.
authorMichael Chan <mchan@broadcom.com>
Mon, 29 Jul 2013 02:03:55 +0000 (19:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jul 2013 05:03:06 +0000 (22:03 -0700)
commit287f1eed12c0d992135e360f1d7dba69e6271e41
tree0f3a425e6c0e63ecbfb39353c492dbb42ff971c4
parent50d3d9fa3f1c2328c6ab0d7d696f39c27e6e9a0d
cnic: Simplify netdev events handling.

After this earlier commit to simplify probing:

    commit 0c8e3966b176a52d4c30e65bb2f49258f428b29a
    cnic, bnx2x, bnx2: Simplify cnic probing.

we can now reliably receive netdev events and we can simplify the handling
of these events.  We now remove the logic that tries to handle missed
NETDEV_REGISTER events.

This change will allow cleanup to be simplified in the next patch.  We can
now rely on the play back of netdev events during
unregister_netdevice_notifier() to cleanup the structures.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/cnic.c