diff options
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index e98a217e2fc0..eb59bb235a52 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -1825,8 +1825,6 @@ static unsigned int sci_scbrr_calc(unsigned int algo_id, unsigned int bps, | |||
1825 | return (((freq * 2) + 16 * bps) / (16 * bps) - 1); | 1825 | return (((freq * 2) + 16 * bps) / (16 * bps) - 1); |
1826 | case SCBRR_ALGO_4: | 1826 | case SCBRR_ALGO_4: |
1827 | return (((freq * 2) + 16 * bps) / (32 * bps) - 1); | 1827 | return (((freq * 2) + 16 * bps) / (32 * bps) - 1); |
1828 | case SCBRR_ALGO_5: | ||
1829 | return (((freq * 1000 / 32) / bps) - 1); | ||
1830 | } | 1828 | } |
1831 | 1829 | ||
1832 | /* Warn, but use a safe default */ | 1830 | /* Warn, but use a safe default */ |