Skip to content

Commit

Permalink
net: remove unused netdev_unregistering()
Browse files Browse the repository at this point in the history
A helper function which is netdev_unregistering on nedevice.h is
no loger used. Thus, netdev_unregistering removes from netdevice.h.

Signed-off-by: Juhee Kang <claudiajkang@gmail.com>
  • Loading branch information
claudiajkang authored and intel-lab-lkp committed Sep 28, 2022
1 parent 648b96c commit 6f0c5fa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/linux/netdevice.h
Expand Up @@ -5100,11 +5100,6 @@ static inline const char *netdev_name(const struct net_device *dev)
return dev->name;
}

static inline bool netdev_unregistering(const struct net_device *dev)
{
return dev->reg_state == NETREG_UNREGISTERING;
}

static inline const char *netdev_reg_state(const struct net_device *dev)
{
switch (dev->reg_state) {
Expand Down

0 comments on commit 6f0c5fa

Please sign in to comment.