Skip to content

Commit

Permalink
serial/men_z135_uart: Deinline men_z135_reg_clr, save 176 bytes
Browse files Browse the repository at this point in the history
This function compiles to 98 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Peter Hurley <peter@hurleysoftware.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Denys Vlasenko authored and Greg Kroah-Hartman committed Dec 14, 2015
1 parent 9cdb933 commit fed76af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/men_z135_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static inline void men_z135_reg_set(struct men_z135_port *uart,
* @addr: Register address
* @val: value to clear
*/
static inline void men_z135_reg_clr(struct men_z135_port *uart,
static void men_z135_reg_clr(struct men_z135_port *uart,
u32 addr, u32 val)
{
struct uart_port *port = &uart->port;
Expand Down

0 comments on commit fed76af

Please sign in to comment.