diff options
| author | Denys Vlasenko <[email protected]> | 2015-10-27 18:46:41 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-13 19:59:48 -0800 |
| commit | be9ae5d9f7d771879dc93766e5cf8d923aed0e1e (patch) | |
| tree | 85b43dca6b0daf1339b80430132a17ecd04a558c | |
| parent | 2172076d2399660a1f49ee5a228ebcb56a2c3544 (diff) | |
serial/pxa: Deinline wait_for_xmitr, save 165 bytes
This function compiles to 141 bytes of machine code.
Signed-off-by: Denys Vlasenko <[email protected]>
CC: Jiri Slaby <[email protected]>
CC: [email protected]
Reviewed-by: Peter Hurley <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
| -rw-r--r-- | drivers/tty/serial/pxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/pxa.c b/drivers/tty/serial/pxa.c index 9becba654892..41eab75ba2af 100644 --- a/drivers/tty/serial/pxa.c +++ b/drivers/tty/serial/pxa.c @@ -603,7 +603,7 @@ static struct uart_driver serial_pxa_reg; /* * Wait for transmitter & holding register to empty */ -static inline void wait_for_xmitr(struct uart_pxa_port *up) +static void wait_for_xmitr(struct uart_pxa_port *up) { unsigned int status, tmout = 10000; |