Re: [PATCH] ethtool_perm_addr only has one implementation

2007-07-29 Thread Kok, Auke
Matthew Wilcox wrote: All drivers implement ethtool get_perm_addr the same way -- by calling the generic function. So we can inline the generic function into the caller and avoid going through the drivers. Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]> For the e100, e1000, ixgb parts: Ack

[PATCH] ethtool_perm_addr only has one implementation

2007-07-29 Thread Matthew Wilcox
All drivers implement ethtool get_perm_addr the same way -- by calling the generic function. So we can inline the generic function into the caller and avoid going through the drivers. Signed-off-by: Matthew Wilcox <[EMAIL PROTECTED]> diff -u b/net/core/ethtool.c b/net/core/ethtool.c --- b/net/c