Revert "net: fec: Stop PPS on driver remove"
This reverts commit e328279c90
.
This commit is contained in:
parent
435344388b
commit
5c2a1132c9
1 changed files with 0 additions and 3 deletions
|
@ -640,9 +640,6 @@ void fec_ptp_stop(struct platform_device *pdev)
|
|||
struct net_device *ndev = platform_get_drvdata(pdev);
|
||||
struct fec_enet_private *fep = netdev_priv(ndev);
|
||||
|
||||
if (fep->pps_enable)
|
||||
fec_ptp_enable_pps(fep, 0);
|
||||
|
||||
cancel_delayed_work_sync(&fep->time_keep);
|
||||
if (fep->ptp_clock)
|
||||
ptp_clock_unregister(fep->ptp_clock);
|
||||
|
|
Loading…
Reference in a new issue