forked from luck/tmp_suning_uos_patched
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
|
@ -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 New Issue
Block a user