Loading net/core/dev.c +1 −3 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ static inline void rps_unlock(struct softnet_data *sd) } /* Device list insertion */ static int list_netdevice(struct net_device *dev) static void list_netdevice(struct net_device *dev) { struct net *net = dev_net(dev); Loading @@ -214,8 +214,6 @@ static int list_netdevice(struct net_device *dev) write_unlock_bh(&dev_base_lock); dev_base_seq_inc(net); return 0; } /* Device list removal Loading Loading
net/core/dev.c +1 −3 Original line number Diff line number Diff line Loading @@ -200,7 +200,7 @@ static inline void rps_unlock(struct softnet_data *sd) } /* Device list insertion */ static int list_netdevice(struct net_device *dev) static void list_netdevice(struct net_device *dev) { struct net *net = dev_net(dev); Loading @@ -214,8 +214,6 @@ static int list_netdevice(struct net_device *dev) write_unlock_bh(&dev_base_lock); dev_base_seq_inc(net); return 0; } /* Device list removal Loading