projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4256b
)
drivers/serial/bfin_sport_uart.c: remove wrong and unneeded memset
author
Andrew Morton
<
[email protected]
>
Thu, 16 Jul 2009 15:05:53 +0000
(16:05 +0100)
committer
Linus Torvalds
<
[email protected]
>
Thu, 16 Jul 2009 16:19:16 +0000
(09:19 -0700)
[email protected]
notes that this memset has its args reversed.
It's unneeded anyway, so remove it.
Addresses http://bugzilla.kernel.org/show_bug.cgi?id=13587
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Alan Cox <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/serial/bfin_sport_uart.c
patch
|
blob
|
history
diff --git
a/drivers/serial/bfin_sport_uart.c
b/drivers/serial/bfin_sport_uart.c
index 34b4ae0fe76041f4eda4132e1a81a54784652557..c108b1a0ce988de4fd91d905d7b26fc205c00e7d 100644
(file)
--- a/
drivers/serial/bfin_sport_uart.c
+++ b/
drivers/serial/bfin_sport_uart.c
@@
-236,7
+236,6
@@
static int sport_startup(struct uart_port *port)
int retval;
pr_debug("%s enter\n", __func__);
- memset(buffer, 20, '\0');
snprintf(buffer, 20, "%s rx", up->name);
retval = request_irq(up->rx_irq, sport_uart_rx_irq, IRQF_SAMPLE_RANDOM, buffer, up);
if (retval) {