mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Scott Kilau <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
354aaf964e
commit
a53568a22a
2 changed files with 0 additions and 5 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue