mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
dst: don't inline dst_ifdown
The function dst_ifdown is called only two places but in a non- performance critical code path, there is no reason to inline it. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
69d7ce72b9
commit
5611551103
@ -286,7 +286,7 @@ EXPORT_SYMBOL(dst_release);
|
||||
*
|
||||
* Commented and originally written by Alexey.
|
||||
*/
|
||||
static inline void dst_ifdown(struct dst_entry *dst, struct net_device *dev,
|
||||
static void dst_ifdown(struct dst_entry *dst, struct net_device *dev,
|
||||
int unregister)
|
||||
{
|
||||
if (dst->ops->ifdown)
|
||||
|
Loading…
Reference in New Issue
Block a user