net: remove unused netdev_unregistering()
authorJuhee Kang <claudiajkang@gmail.com>
Thu, 27 Oct 2022 16:04:24 +0000 (01:04 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Oct 2022 21:56:39 +0000 (21:56 +0000)
commitf3fb589aeb88c5bf7a7a804d36a8fa219b72e290
tree79842d1726133f93a14cb21268a71774d91f701f
parent02a97e02c64fb3245b84835cbbed1c3a3222e2f1
net: remove unused netdev_unregistering()

Currently, use dev->reg_state == NETREG_UNREGISTERING to check the status
which is NETREG_UNREGISTERING, rather than using netdev_unregistering.
Also, A helper function which is netdev_unregistering on nedevice.h is no
longer used. Thus, netdev_unregistering removes from netdevice.h.

Signed-off-by: Juhee Kang <claudiajkang@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h