aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-11-08 09:18:32 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-13 22:59:48 -0500
commit5841fc4b136b8dbab551749d2b12d71628f34635 (patch)
treedaa39ad466b48b2eac61abf65e96fa935b6f5b04
parent4de91ebcc788f81d2a974d91208f5560ddf36378 (diff)
tty: Remove unused SERIAL_DO_RESTART define
SERIAL_DO_RESTART is not used by these 3 drivers; remove. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/amiserial.c1
-rw-r--r--drivers/tty/moxa.c1
-rw-r--r--drivers/tty/serial/icom.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/amiserial.c b/drivers/tty/amiserial.c
index e53d9a512c6d..2caaf5a2516d 100644
--- a/drivers/tty/amiserial.c
+++ b/drivers/tty/amiserial.c
@@ -32,7 +32,6 @@
32#include <linux/delay.h> 32#include <linux/delay.h>
33 33
34#undef SERIAL_PARANOIA_CHECK 34#undef SERIAL_PARANOIA_CHECK
35#define SERIAL_DO_RESTART
36 35
37/* Set of debugging defines */ 36/* Set of debugging defines */
38 37
diff --git a/drivers/tty/moxa.c b/drivers/tty/moxa.c
index 14c54e041065..92982d7c0489 100644
--- a/drivers/tty/moxa.c
+++ b/drivers/tty/moxa.c
@@ -155,7 +155,6 @@ struct mon_str {
155#define LOWWAIT 2 155#define LOWWAIT 2
156#define EMPTYWAIT 3 156#define EMPTYWAIT 3
157 157
158#define SERIAL_DO_RESTART
159 158
160#define WAKEUP_CHARS 256 159#define WAKEUP_CHARS 256
161 160
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c
index ffc7cb2585a6..c60a8d5e4020 100644
--- a/drivers/tty/serial/icom.c
+++ b/drivers/tty/serial/icom.c
@@ -22,7 +22,6 @@
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 * 23 *
24 */ 24 */
25#define SERIAL_DO_RESTART
26#include <linux/module.h> 25#include <linux/module.h>
27#include <linux/kernel.h> 26#include <linux/kernel.h>
28#include <linux/errno.h> 27#include <linux/errno.h>