mirror of https://gitee.com/openkylin/linux.git
serial/bcm63xx_uart: Deinline wait_for_xmitr, save 374 bytes
This function compiles to 141 bytes of machine code. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> CC: Jiri Slaby <jslaby@suse.com> CC: linux-serial@vger.kernel.org Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
810e20e705
commit
1a5b34ebeb
|
@ -653,7 +653,7 @@ static struct uart_ops bcm_uart_ops = {
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_SERIAL_BCM63XX_CONSOLE
|
#ifdef CONFIG_SERIAL_BCM63XX_CONSOLE
|
||||||
static inline void wait_for_xmitr(struct uart_port *port)
|
static void wait_for_xmitr(struct uart_port *port)
|
||||||
{
|
{
|
||||||
unsigned int tmout;
|
unsigned int tmout;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue