summaryrefslogtreecommitdiffstats
path: root/drivers/tty/amiserial.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-02-06 10:55:16 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-13 10:17:06 -0800
commitbc80fbe46be7430487a45ad92841932bb2eaa3e6 (patch)
tree29c769f739f5b1e5eec81885dbb5e9912cf37fd1 /drivers/tty/amiserial.c
parent42381572f586d4da57e7d65e0fcb45422be3ba7b (diff)
downloadop-kernel-dev-bc80fbe46be7430487a45ad92841932bb2eaa3e6.zip
op-kernel-dev-bc80fbe46be7430487a45ad92841932bb2eaa3e6.tar.gz
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>
Diffstat (limited to 'drivers/tty/amiserial.c')
-rw-r--r--drivers/tty/amiserial.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c
index 4c7d701..fc70034 100644
--- a/drivers/tty/amiserial.c
+++ b/drivers/tty/amiserial.c
@@ -393,11 +393,6 @@ static void check_modem_status(struct serial_state *info)
icount->dsr++;
if (dstatus & SER_DCD) {
icount->dcd++;
-#ifdef CONFIG_HARD_PPS
- if ((port->flags & ASYNC_HARDPPS_CD) &&
- !(status & SER_DCD))
- hardpps();
-#endif
}
if (dstatus & SER_CTS)
icount->cts++;
OpenPOWER on IntegriCloud