mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 14:42:18 -04:00
net: lan743x: Remove unused argument in lan743x_common_regs( )
Remove the unused argument (i.e. struct ethtool_regs *regs) in lan743x_common_regs( ) function arguments. Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com> Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
0cb9ed57d5
commit
925638a2a0
@@ -1190,9 +1190,7 @@ static int lan743x_ethtool_set_wol(struct net_device *netdev,
|
||||
}
|
||||
#endif /* CONFIG_PM */
|
||||
|
||||
static void lan743x_common_regs(struct net_device *dev,
|
||||
struct ethtool_regs *regs, void *p)
|
||||
|
||||
static void lan743x_common_regs(struct net_device *dev, void *p)
|
||||
{
|
||||
struct lan743x_adapter *adapter = netdev_priv(dev);
|
||||
u32 *rb = p;
|
||||
@@ -1230,7 +1228,7 @@ static void lan743x_get_regs(struct net_device *dev,
|
||||
{
|
||||
regs->version = LAN743X_ETH_REG_VERSION;
|
||||
|
||||
lan743x_common_regs(dev, regs, p);
|
||||
lan743x_common_regs(dev, p);
|
||||
}
|
||||
|
||||
static void lan743x_get_pauseparam(struct net_device *dev,
|
||||
|
||||
Reference in New Issue
Block a user