Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1307175 > unrolled thread
| Started by | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| First post | 2016-01-12 11:00 +0100 |
| Last post | 2016-01-12 11:00 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 3/3] TTY: serial/mpsc, remove unused fields Jiri Slaby <jslaby@suse.cz> - 2016-01-12 11:00 +0100
| From | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| Date | 2016-01-12 11:00 +0100 |
| Subject | [PATCH 3/3] TTY: serial/mpsc, remove unused fields |
| Message-ID | <qQ3U6-7AD-15@gated-at.bofh.it> |
c_iflag and c_cflag are set, but unused. Remove.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
drivers/tty/serial/mpsc.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/tty/serial/mpsc.c b/drivers/tty/serial/mpsc.c
index 44a23113f469..4a3021bcc859 100644
--- a/drivers/tty/serial/mpsc.c
+++ b/drivers/tty/serial/mpsc.c
@@ -137,8 +137,6 @@ struct mpsc_port_info {
/* Internal driver state for this ctlr */
u8 ready;
u8 rcv_data;
- tcflag_t c_iflag; /* save termios->c_iflag */
- tcflag_t c_cflag; /* save termios->c_cflag */
/* Info passed in from platform */
u8 mirror_regs; /* Need to mirror regs? */
@@ -1407,9 +1405,6 @@ static void mpsc_set_termios(struct uart_port *port, struct ktermios *termios,
ulong flags;
u32 chr_bits, stop_bits, par;
- pi->c_iflag = termios->c_iflag;
- pi->c_cflag = termios->c_cflag;
-
switch (termios->c_cflag & CSIZE) {
case CS5:
chr_bits = MPSC_MPCR_CL_5;
--
2.7.0
Back to top | Article view | linux.kernel
csiph-web