diff options
author | Breno Leitão <leitao@linux.vnet.ibm.com> | 2009-09-29 14:16:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 18:18:02 -0500 |
commit | a53568a22adf6881183096d0863b0ff301173cbd (patch) | |
tree | c0ce0a0cbd5cadaa91cb11735ca781d8a31152b2 /drivers/serial/jsm | |
parent | 354aaf964ed1ae45c175aa496526bae4662c4452 (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')
-rw-r--r-- | drivers/serial/jsm/jsm.h | 1 | ||||
-rw-r--r-- | drivers/serial/jsm/jsm_neo.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/jsm/jsm.h b/drivers/serial/jsm/jsm.h index 4e5f3bde0461..afcbee24a6b2 100644 --- a/drivers/serial/jsm/jsm.h +++ b/drivers/serial/jsm/jsm.h | |||
@@ -216,7 +216,6 @@ struct jsm_channel { | |||
216 | u8 ch_startc; /* Start character */ | 216 | u8 ch_startc; /* Start character */ |
217 | 217 | ||
218 | u32 ch_old_baud; /* Cache of the current baud */ | 218 | u32 ch_old_baud; /* Cache of the current baud */ |
219 | u32 ch_custom_speed;/* Custom baud, if set */ | ||
220 | 219 | ||
221 | u32 ch_wopen; /* Waiting for open process cnt */ | 220 | u32 ch_wopen; /* Waiting for open process cnt */ |
222 | 221 | ||
diff --git a/drivers/serial/jsm/jsm_neo.c b/drivers/serial/jsm/jsm_neo.c index b4b124e4828f..088e702ef5f3 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) | |||
957 | ch->ch_old_baud = 0; | 957 | ch->ch_old_baud = 0; |
958 | return; | 958 | return; |
959 | 959 | ||
960 | } else if (ch->ch_custom_speed) { | ||
961 | baud = ch->ch_custom_speed; | ||
962 | if (ch->ch_flags & CH_BAUD0) | ||
963 | ch->ch_flags &= ~(CH_BAUD0); | ||
964 | } else { | 960 | } else { |
965 | int i; | 961 | int i; |
966 | unsigned int cflag; | 962 | unsigned int cflag; |