0c56f4c2f9d858e1abd2577bfa653f57dda36dfe
[openwrt/openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1046-s3c2410_serial-nodebug.patch.patch
1 From b2b07b5cf12c430ad74b44602b098e7b711a2b72 Mon Sep 17 00:00:00 2001
2 From: mokopatches <mokopatches@openmoko.org>
3 Date: Sun, 13 Apr 2008 07:23:48 +0100
4 Subject: [PATCH] s3c2410_serial-nodebug.patch
5
6 ---
7 drivers/serial/s3c2410.c | 8 --------
8 1 files changed, 0 insertions(+), 8 deletions(-)
9
10 diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c
11 index e773c8e..6c93a1b 100644
12 --- a/drivers/serial/s3c2410.c
13 +++ b/drivers/serial/s3c2410.c
14 @@ -708,10 +708,6 @@ static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
15 int calc_deviation;
16
17 for (sptr = res; sptr < resptr; sptr++) {
18 - printk(KERN_DEBUG
19 - "found clk %p (%s) quot %d, calc %d\n",
20 - sptr->clksrc, sptr->clksrc->name,
21 - sptr->quot, sptr->calc);
22
23 calc_deviation = baud - sptr->calc;
24 if (calc_deviation < 0)
25 @@ -723,12 +719,8 @@ static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
26 }
27 }
28
29 - printk(KERN_DEBUG "best %p (deviation %d)\n", best, deviation);
30 }
31
32 - printk(KERN_DEBUG "selected clock %p (%s) quot %d, calc %d\n",
33 - best->clksrc, best->clksrc->name, best->quot, best->calc);
34 -
35 /* store results to pass back */
36
37 *clksrc = best->clksrc;
38 --
39 1.5.6.5
40