Commit 6d70f46b authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Greg Kroah-Hartman

serial/jsm: Deinline neo_parse_isr, save 688 bytes

This function compiles to 811 bytes of machine code.
Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
CC: Jiri Slaby <jslaby@suse.com>
CC: linux-serial@vger.kernel.org
Reviewed-by: default avatarPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1a5b34eb
...@@ -714,7 +714,7 @@ static void neo_clear_break(struct jsm_channel *ch) ...@@ -714,7 +714,7 @@ static void neo_clear_break(struct jsm_channel *ch)
/* /*
* Parse the ISR register. * Parse the ISR register.
*/ */
static inline void neo_parse_isr(struct jsm_board *brd, u32 port) static void neo_parse_isr(struct jsm_board *brd, u32 port)
{ {
struct jsm_channel *ch; struct jsm_channel *ch;
u8 isr; u8 isr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment