diff options
| author | Denys Vlasenko <[email protected]> | 2015-10-27 17:40:01 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-12-13 19:59:48 -0800 |
| commit | f4581cab8ddd7270e6f342b163191e30e1398d74 (patch) | |
| tree | 1b0eb78ee06877e84ae8b83d5b936939a621b4e9 | |
| parent | 6d70f46ba0012d0cc4ade4d0eaad9db61b2e54bb (diff) | |
serial_core: Deinline uart_update_mctrl, save 304 bytes
This function compiles to 92 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/serial_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index def5199ca004..22cfc3271744 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -110,7 +110,7 @@ static void uart_start(struct tty_struct *tty) spin_unlock_irqrestore(&port->lock, flags); } -static inline void +static void uart_update_mctrl(struct uart_port *port, unsigned int set, unsigned int clear) { unsigned long flags; |