Commit ea019649 authored by Denys Vlasenko's avatar Denys Vlasenko Committed by David S. Miller

drivers/net/ethernet/jme.c: Deinline jme_reset_mac_processor, save 2816 bytes

This function compiles to 895 bytes of machine code.

Clearly, this isn't a time-critical function.
For one, it has a number of udelay(1) calls.
Signed-off-by: default avatarDenys Vlasenko <dvlasenk@redhat.com>
CC: David S. Miller <davem@davemloft.net>
CC: linux-kernel@vger.kernel.org
CC: netdev@vger.kernel.org
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 079adf6c
...@@ -222,7 +222,7 @@ jme_clear_ghc_reset(struct jme_adapter *jme) ...@@ -222,7 +222,7 @@ jme_clear_ghc_reset(struct jme_adapter *jme)
jwrite32f(jme, JME_GHC, jme->reg_ghc); jwrite32f(jme, JME_GHC, jme->reg_ghc);
} }
static inline void static void
jme_reset_mac_processor(struct jme_adapter *jme) jme_reset_mac_processor(struct jme_adapter *jme)
{ {
static const u32 mask[WAKEUP_FRAME_MASK_DWNR] = {0, 0, 0, 0}; static const u32 mask[WAKEUP_FRAME_MASK_DWNR] = {0, 0, 0, 0};
......
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