pps: timestamp is always passed to dcd_change()
authorAlexander Gordeev <lasaine@lvk.cs.msu.su>
Thu, 13 Jan 2011 01:00:55 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:20 +0000 (08:03 -0800)
commit12f9b1f9c11700893a7b453705d95b260d78f268
tree49cd6a357b37d5f1e4ff02ec08192de381cc8509
parent818b9eefe742cc29c6456e163e2c035cfb431e51
pps: timestamp is always passed to dcd_change()

Remove the code that gatheres timestamp in pps_tty_dcd_change() in case
passed ts parameter is NULL because it never happens in the current code.
Fix comments as well.

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
Acked-by: Rodolfo Giometti <giometti@linux.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/serial/tty.txt
drivers/pps/clients/pps-ldisc.c
include/linux/tty_ldisc.h