mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 15:01:44 +00:00
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>
This commit is contained in:
parent
818b9eefe7
commit
12f9b1f9c1
3 changed files with 2 additions and 10 deletions
|
@ -104,7 +104,7 @@
|
|||
* struct pps_event_time *ts)
|
||||
*
|
||||
* Tells the discipline that the DCD pin has changed its status and
|
||||
* the relative timestamp. Pointer ts can be NULL.
|
||||
* the relative timestamp. Pointer ts cannot be NULL.
|
||||
*/
|
||||
|
||||
#include <linux/fs.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue