diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-07-16 17:05:53 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-16 18:19:16 +0200 |
commit | ff5392d77bbb0746d1a034e955231f03ffc30b61 (patch) | |
tree | f41b968d99abf1e076b48b30442189920835c8ec /drivers/serial | |
parent | serial: don't add msm_serial's probe function to the driver struct (diff) | |
download | linux-ff5392d77bbb0746d1a034e955231f03ffc30b61.tar.xz linux-ff5392d77bbb0746d1a034e955231f03ffc30b61.zip |
drivers/serial/bfin_sport_uart.c: remove wrong and unneeded memset
dcb314@hotmail.com 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 <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial')
-rw-r--r-- | drivers/serial/bfin_sport_uart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/serial/bfin_sport_uart.c b/drivers/serial/bfin_sport_uart.c index 34b4ae0fe760..c108b1a0ce98 100644 --- 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) { |