提交 3ade1160 编写于 作者: R Robert Reif 提交者: David S. Miller

sparc: sunzilog.c remove unused argument

Remove unused argument in function call.
Signed-off-by: NRobert Reif <reif@earthlink.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 403ae52a
...@@ -1231,7 +1231,7 @@ static inline struct console *SUNZILOG_CONSOLE(void) ...@@ -1231,7 +1231,7 @@ static inline struct console *SUNZILOG_CONSOLE(void)
#define SUNZILOG_CONSOLE() (NULL) #define SUNZILOG_CONSOLE() (NULL)
#endif #endif
static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up, int channel) static void __devinit sunzilog_init_kbdms(struct uart_sunzilog_port *up)
{ {
int baud, brg; int baud, brg;
...@@ -1305,7 +1305,7 @@ static void __devinit sunzilog_init_hw(struct uart_sunzilog_port *up) ...@@ -1305,7 +1305,7 @@ static void __devinit sunzilog_init_hw(struct uart_sunzilog_port *up)
up->curregs[R7] = 0x7E; /* SDLC Flag */ up->curregs[R7] = 0x7E; /* SDLC Flag */
up->curregs[R9] = NV; up->curregs[R9] = NV;
up->curregs[R7p] = 0x00; up->curregs[R7p] = 0x00;
sunzilog_init_kbdms(up, up->port.line); sunzilog_init_kbdms(up);
/* Only enable interrupts if an ISR handler available */ /* Only enable interrupts if an ISR handler available */
if (up->flags & SUNZILOG_FLAG_ISR_HANDLER) if (up->flags & SUNZILOG_FLAG_ISR_HANDLER)
up->curregs[R9] |= MIE; up->curregs[R9] |= MIE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册