aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pps')
-rw-r--r--drivers/pps/clients/pps-ldisc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pps/clients/pps-ldisc.c b/drivers/pps/clients/pps-ldisc.c
index 1b3c6eda12ba..79451f2dea6a 100644
--- a/drivers/pps/clients/pps-ldisc.c
+++ b/drivers/pps/clients/pps-ldisc.c
@@ -32,14 +32,6 @@ static void pps_tty_dcd_change(struct tty_struct *tty, unsigned int status,
32 struct pps_event_time *ts) 32 struct pps_event_time *ts)
33{ 33{
34 struct pps_device *pps = (struct pps_device *)tty->disc_data; 34 struct pps_device *pps = (struct pps_device *)tty->disc_data;
35 struct pps_event_time __ts;
36
37 /* First of all we get the time stamp... */
38 pps_get_ts(&__ts);
39
40 /* Does caller give us a timestamp? */
41 if (!ts) /* No. Do it ourself! */
42 ts = &__ts;
43 35
44 BUG_ON(pps == NULL); 36 BUG_ON(pps == NULL);
45 37