mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 12:41:55 +00:00
USB: pl2303: remove unreachable code
Signed-off-by: Michal Sroczynski <msroczyn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
065e60964e
commit
55a46269cc
@ -360,9 +360,6 @@ static void pl2303_set_termios(struct tty_struct *tty,
|
|||||||
tmp >>= 2;
|
tmp >>= 2;
|
||||||
buf[1] <<= 1;
|
buf[1] <<= 1;
|
||||||
}
|
}
|
||||||
if (tmp > 256) {
|
|
||||||
tmp %= 256;
|
|
||||||
}
|
|
||||||
buf[0] = tmp;
|
buf[0] = tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user