Commit bc80fbe46be7430487a45ad92841932bb2eaa3e6
Committed by
Greg Kroah-Hartman
1 parent
42381572f5
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
tty: Remove ancient hardpps()
hardpps() functionality is provided through the N_PPS line discipline now. The new function signature was added in commit 025b40ab (2011-01-12). There was no previous macro or function hardpps(), at least since before the initial commit of v2.6.12 in 2005. It's unlikely this code has been compiled since. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: George Spelvin <linux@horizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing 2 changed files with 0 additions and 9 deletions Side-by-side Diff
drivers/tty/amiserial.c
... | ... | @@ -393,11 +393,6 @@ |
393 | 393 | icount->dsr++; |
394 | 394 | if (dstatus & SER_DCD) { |
395 | 395 | icount->dcd++; |
396 | -#ifdef CONFIG_HARD_PPS | |
397 | - if ((port->flags & ASYNC_HARDPPS_CD) && | |
398 | - !(status & SER_DCD)) | |
399 | - hardpps(); | |
400 | -#endif | |
401 | 396 | } |
402 | 397 | if (dstatus & SER_CTS) |
403 | 398 | icount->cts++; |
drivers/tty/serial/serial_core.c