Skip to content

Commit

Permalink
jsm: remove the ch_custom_speed field
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Breno Leitão authored and gregkh committed Dec 11, 2009
1 parent 354aaf9 commit a53568a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/serial/jsm/jsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ struct jsm_channel {
u8 ch_startc; /* Start character */

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 */

Expand Down
4 changes: 0 additions & 4 deletions drivers/serial/jsm/jsm_neo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a53568a

Please sign in to comment.