mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
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: Denys 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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
079adf6c53
commit
ea019649c3
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ jme_clear_ghc_reset(struct jme_adapter *jme)
|
|||
jwrite32f(jme, JME_GHC, jme->reg_ghc);
|
||||
}
|
||||
|
||||
static inline void
|
||||
static void
|
||||
jme_reset_mac_processor(struct jme_adapter *jme)
|
||||
{
|
||||
static const u32 mask[WAKEUP_FRAME_MASK_DWNR] = {0, 0, 0, 0};
|
||||
|
|
Loading…
Reference in a new issue