linux-mips
[Top] [All Lists]

[PATCH] minor fix in sb1250_duart.c

To: linux-mips@linux-mips.org
Subject: [PATCH] minor fix in sb1250_duart.c
From: "Manoj Ekbote" <manoj.ekbote@broadcom.com>
Date: Tue, 20 Feb 2007 16:34:56 -0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Thread-index: AcdVUBwYEKYbAIIaTJCPFN8oX0l5fg==
Thread-topic: [PATCH] minor fix in sb1250_duart.c
Patch to remove the first "default" label in switch and case.

Signed-off-by: Manoj Ekbote <manoje@broadcom.com>

diff --git a/drivers/char/sb1250_duart.c b/drivers/char/sb1250_duart.c
index 9cbd92e..a311fdb 100644
--- a/drivers/char/sb1250_duart.c
+++ b/drivers/char/sb1250_duart.c
@@ -469,7 +469,6 @@ static inline void duart_set_cflag(unsig
        case B1800:     clk_divisor = 2776;             break;
        case B2400:     clk_divisor = 2082;             break;
        case B4800:     clk_divisor = 1040;             break;
-       default:
        case B9600:     clk_divisor = 519;              break;
        case B19200:    clk_divisor = 259;              break;
        case B38400:    clk_divisor = 129;              break;



<Prev in Thread] Current Thread [Next in Thread>