mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
8f4256b22c
commit
ff5392d77b
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue