This series drops unused NETDEV_UNREGISTER_FINAL after some preparations. v2: New patch [2/3]. Use switch() in [1/3].
The first version was acked by Jason Gunthorpe, and [1/3] was acked by David Ahern. Since there are differences to v1, I haven't added Acked-by tags of people. It would be nice, if you fill OK to tag v2 too. Thanks, Kirill --- Kirill Tkhai (3): net: Make NETDEV_XXX commands enum { } infiniband: Replace usnic_ib_netdev_event_to_string() with netdev_cmd_to_name() net: Drop NETDEV_UNREGISTER_FINAL drivers/infiniband/hw/qedr/main.c | 4 +- drivers/infiniband/hw/usnic/usnic_ib_main.c | 28 ++--------- include/linux/netdevice.h | 68 ++++++++++++++------------- include/rdma/ib_verbs.h | 4 +- net/core/dev.c | 25 ++++++++-- 5 files changed, 63 insertions(+), 66 deletions(-) -- Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>