aboutsummaryrefslogtreecommitdiff
path: root/drivers/ptp/ptp_fc3.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ptp/ptp_fc3.c')
-rw-r--r--drivers/ptp/ptp_fc3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ptp/ptp_fc3.c b/drivers/ptp/ptp_fc3.c
index e14e149b746e..879b82f03535 100644
--- a/drivers/ptp/ptp_fc3.c
+++ b/drivers/ptp/ptp_fc3.c
@@ -986,11 +986,6 @@ static int idtfc3_probe(struct platform_device *pdev)
mutex_unlock(idtfc3->lock);
- if (err) {
- ptp_clock_unregister(idtfc3->ptp_clock);
- return err;
- }
-
platform_set_drvdata(pdev, idtfc3);
return 0;