Skip to content

Commit

Permalink
USB: pl2303: remove unreachable code
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Sroczynski <msroczyn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Michał Sroczyński authored and Greg Kroah-Hartman committed Aug 26, 2011
1 parent 065e609 commit 55a4626
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/usb/serial/pl2303.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,9 +360,6 @@ static void pl2303_set_termios(struct tty_struct *tty,
tmp >>= 2;
buf[1] <<= 1;
}
if (tmp > 256) {
tmp %= 256;
}
buf[0] = tmp;
}
}
Expand Down

0 comments on commit 55a4626

Please sign in to comment.