Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Raju Lakkaraju and committed by
Jakub Kicinski
925638a2 0cb9ed57

+2 -4
+2 -4
drivers/net/ethernet/microchip/lan743x_ethtool.c
··· 1190 1190 } 1191 1191 #endif /* CONFIG_PM */ 1192 1192 1193 - static void lan743x_common_regs(struct net_device *dev, 1194 - struct ethtool_regs *regs, void *p) 1195 - 1193 + static void lan743x_common_regs(struct net_device *dev, void *p) 1196 1194 { 1197 1195 struct lan743x_adapter *adapter = netdev_priv(dev); 1198 1196 u32 *rb = p; ··· 1228 1230 { 1229 1231 regs->version = LAN743X_ETH_REG_VERSION; 1230 1232 1231 - lan743x_common_regs(dev, regs, p); 1233 + lan743x_common_regs(dev, p); 1232 1234 } 1233 1235 1234 1236 static void lan743x_get_pauseparam(struct net_device *dev,