projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
079adf6
)
drivers/net/ethernet/jme.c: Deinline jme_reset_mac_processor, save 2816 bytes
author
Denys Vlasenko
<
[email protected]
>
Fri, 8 Apr 2016 18:39:47 +0000
(20:39 +0200)
committer
David S. Miller
<
[email protected]
>
Thu, 14 Apr 2016 02:57:00 +0000
(22:57 -0400)
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 <
[email protected]
>
CC: David S. Miller <
[email protected]
>
CC:
[email protected]
CC:
[email protected]
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/jme.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/jme.c
b/drivers/net/ethernet/jme.c
index 3ddf657bc10bcc51d5a217595ba8e98ed909e0cd..836ebd8ee768fc8083da04a45192eff81742a644 100644
(file)
--- a/
drivers/net/ethernet/jme.c
+++ b/
drivers/net/ethernet/jme.c
@@
-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};