summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sh-sci.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-04-30 18:21:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-10 19:06:39 +0200
commit99fb215eea10b9c7e8ab172e5932d296e63c3f73 (patch)
tree51eec0855cc26ca3ff001ac50fe00141a051fe6d /drivers/tty/serial/sh-sci.c
parentserial: sh-sci: Don't set SCLSR bits in the SCxSR error mask (diff)
downloadlinux-99fb215eea10b9c7e8ab172e5932d296e63c3f73.tar.xz
linux-99fb215eea10b9c7e8ab172e5932d296e63c3f73.zip
serial: sh-sci: Remove obsolete comment about overrun detection
The code it refers to was removed in commit b545e4f40613be70 ("serial: sh-sci: Compute overrun_bit without using baud rate algo"). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/tty/serial/sh-sci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index c3e884dd925f..b74a644e4b04 100644
--- a/drivers/tty/serial/sh-sci.c
+++ b/drivers/tty/serial/sh-sci.c
@@ -2315,11 +2315,6 @@ static int sci_init_single(struct platform_device *dev,
SCI_DEFAULT_ERROR_MASK : SCIF_DEFAULT_ERROR_MASK;
/*
- * Establish sensible defaults for the overrun detection, unless
- * the part has explicitly disabled support for it.
- */
-
- /*
* Make the error mask inclusive of overrun detection, if
* supported.
*/