summaryrefslogtreecommitdiffstats
path: root/drivers/tty/cyclades.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2016-05-09 09:11:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 17:56:30 +0200
commit6137b7a62978915d76db69e17e25e8e0b1057254 (patch)
tree4b36a2e522df9de01fd6db8c01dd0b4b947f23ba /drivers/tty/cyclades.c
parenttty: frv, remove unused serial macros (diff)
downloadlinux-6137b7a62978915d76db69e17e25e8e0b1057254.tar.xz
linux-6137b7a62978915d76db69e17e25e8e0b1057254.zip
tty: stop defining STD_COM_FLAGS in drivers
STD_COM_FLAGS is mostly a bad name for what the drivers thinks it is. Stop using it and pass the flags directly. cyclades defines it as 0, so we do not assign anything to freshly tty_port_init'ed structure. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/cyclades.c')
-rw-r--r--drivers/tty/cyclades.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/cyclades.c b/drivers/tty/cyclades.c
index fcc4962fa4c6..5e4fa9206861 100644
--- a/drivers/tty/cyclades.c
+++ b/drivers/tty/cyclades.c
@@ -93,8 +93,6 @@ static void cy_send_xchar(struct tty_struct *tty, char ch);
#define SERIAL_XMIT_SIZE (min(PAGE_SIZE, 4096))
#endif
-#define STD_COM_FLAGS (0)
-
/* firmware stuff */
#define ZL_MAX_BLOCKS 16
#define DRIVER_VERSION 0x02010203
@@ -3083,7 +3081,6 @@ static int cy_init_card(struct cyclades_card *cinfo)
info->port.closing_wait = CLOSING_WAIT_DELAY;
info->port.close_delay = 5 * HZ / 10;
- info->port.flags = STD_COM_FLAGS;
init_completion(&info->shutdown_wait);
if (cy_is_Z(cinfo)) {