mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
net: ethernet: cs89x0: remove stale CONFIG_MACH_MX31ADS reference
The legacy ARM board file for MACH_MX31ADS was removed in commitc93197b004("ARM: imx: Remove i.MX31 board files"), but a reference to it remained in the cs89x0 driver. Drop this unused code. Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com> Fixes:c93197b004("ARM: imx: Remove i.MX31 board files") Link: https://patch.msgid.link/20260509023732.42256-1-enelsonmoore@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
2cc8f49971
commit
36a8d04a82
|
|
@ -1271,7 +1271,6 @@ static const struct net_device_ops net_ops = {
|
|||
|
||||
static void __init reset_chip(struct net_device *dev)
|
||||
{
|
||||
#if !defined(CONFIG_MACH_MX31ADS)
|
||||
struct net_local *lp = netdev_priv(dev);
|
||||
unsigned long reset_start_time;
|
||||
|
||||
|
|
@ -1298,7 +1297,6 @@ static void __init reset_chip(struct net_device *dev)
|
|||
while ((readreg(dev, PP_SelfST) & INIT_DONE) == 0 &&
|
||||
time_before(jiffies, reset_start_time + 2))
|
||||
;
|
||||
#endif /* !CONFIG_MACH_MX31ADS */
|
||||
}
|
||||
|
||||
/* This is the real probe routine.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user