Commit 3fb1c9c
realtek: mdio: configure bus read/write only once.
For all families the driver uses the same read/write functions.
Drop the duplicate per-family initialization.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: openwrt/openwrt#21274
Signed-off-by: Robert Marko <[email protected]>1 parent 89f5678 commit 3fb1c9c
File tree
1 file changed
+3
-8
lines changed- target/linux/realtek/files-6.12/drivers/net/mdio
1 file changed
+3
-8
lines changedLines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1440 | 1440 | | |
1441 | 1441 | | |
1442 | 1442 | | |
1443 | | - | |
1444 | | - | |
1445 | 1443 | | |
1446 | 1444 | | |
1447 | 1445 | | |
| |||
1452 | 1450 | | |
1453 | 1451 | | |
1454 | 1452 | | |
1455 | | - | |
1456 | | - | |
1457 | 1453 | | |
1458 | 1454 | | |
1459 | 1455 | | |
| |||
1464 | 1460 | | |
1465 | 1461 | | |
1466 | 1462 | | |
1467 | | - | |
1468 | | - | |
1469 | 1463 | | |
1470 | 1464 | | |
1471 | 1465 | | |
| |||
1476 | 1470 | | |
1477 | 1471 | | |
1478 | 1472 | | |
1479 | | - | |
1480 | | - | |
1481 | 1473 | | |
1482 | 1474 | | |
1483 | 1475 | | |
| |||
1487 | 1479 | | |
1488 | 1480 | | |
1489 | 1481 | | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
1490 | 1485 | | |
1491 | 1486 | | |
1492 | 1487 | | |
| |||
0 commit comments