aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-04-26 07:59:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-24 10:09:15 +0200
commit92c42b492af5f37e7306c6fd42b46f7a0c5fd5e4 (patch)
treee9f261456459bc65f05c9bad040a2bcc851a48e2 /arch
parenttty: tty_io: fix driver refcount imbalance on error path (diff)
downloadlinux-dev-92c42b492af5f37e7306c6fd42b46f7a0c5fd5e4.tar.xz
linux-dev-92c42b492af5f37e7306c6fd42b46f7a0c5fd5e4.zip
tty: simserial: drop unused iflag macro
Drop the RELEVANT_IFLAG() macro which hasn't been used for over a decade. Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Johan Hovold <johan@kernel.org> Acked-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/hp/sim/simserial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simserial.c b/arch/ia64/hp/sim/simserial.c
index 7aeb48a18576..1a338e541334 100644
--- a/arch/ia64/hp/sim/simserial.c
+++ b/arch/ia64/hp/sim/simserial.c
@@ -324,8 +324,6 @@ static int rs_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
return -ENOIOCTLCMD;
}
-#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
-
/*
* This routine will shutdown a serial port; interrupts are disabled, and
* DTR is dropped if the hangup on close termio flag is on.