Commit a53568a2 authored by Breno Leitão's avatar Breno Leitão Committed by Greg Kroah-Hartman

jsm: remove the ch_custom_speed field

Currently the ch_custom_speed field exists but is never used,
so, this patch removes it.
Signed-off-by: default avatarBreno Leitão <leitao@linux.vnet.ibm.com>
Cc: Scott Kilau <scottk@digi.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 354aaf96
...@@ -216,7 +216,6 @@ struct jsm_channel { ...@@ -216,7 +216,6 @@ struct jsm_channel {
u8 ch_startc; /* Start character */ u8 ch_startc; /* Start character */
u32 ch_old_baud; /* Cache of the current baud */ u32 ch_old_baud; /* Cache of the current baud */
u32 ch_custom_speed;/* Custom baud, if set */
u32 ch_wopen; /* Waiting for open process cnt */ u32 ch_wopen; /* Waiting for open process cnt */
......
...@@ -957,10 +957,6 @@ static void neo_param(struct jsm_channel *ch) ...@@ -957,10 +957,6 @@ static void neo_param(struct jsm_channel *ch)
ch->ch_old_baud = 0; ch->ch_old_baud = 0;
return; return;
} else if (ch->ch_custom_speed) {
baud = ch->ch_custom_speed;
if (ch->ch_flags & CH_BAUD0)
ch->ch_flags &= ~(CH_BAUD0);
} else { } else {
int i; int i;
unsigned int cflag; unsigned int cflag;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment