summaryrefslogtreecommitdiff
path: root/drivers/serial/jsm/jsm_neo.c
diff options
context:
space:
mode:
authorBreno Leitão <leitao@linux.vnet.ibm.com>2009-09-29 15:16:55 -0300
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 15:18:02 -0800
commita53568a22adf6881183096d0863b0ff301173cbd (patch)
treec0ce0a0cbd5cadaa91cb11735ca781d8a31152b2 /drivers/serial/jsm/jsm_neo.c
parent354aaf964ed1ae45c175aa496526bae4662c4452 (diff)
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: Breno Leitão <leitao@linux.vnet.ibm.com> Cc: Scott Kilau <scottk@digi.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/jsm/jsm_neo.c')
-rw-r--r--drivers/serial/jsm/jsm_neo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/serial/jsm/jsm_neo.c b/drivers/serial/jsm/jsm_neo.c
index b4b124e4828..088e702ef5f 100644
--- a/drivers/serial/jsm/jsm_neo.c
+++ b/drivers/serial/jsm/jsm_neo.c
@@ -957,10 +957,6 @@ static void neo_param(struct jsm_channel *ch)
ch->ch_old_baud = 0;
return;
- } else if (ch->ch_custom_speed) {
- baud = ch->ch_custom_speed;
- if (ch->ch_flags & CH_BAUD0)
- ch->ch_flags &= ~(CH_BAUD0);
} else {
int i;
unsigned int cflag;