diff options
| author | Sergei Shtylyov <[email protected]> | 2015-12-12 22:44:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-14 21:25:21 +0000 |
| commit | 2274d3753f6c5a885be4cfdf8b39ae2045ba6e30 (patch) | |
| tree | 8791149419c3b4797df05e470b4f14b1a5eb98a4 /net/ipv6/tcp_ipv6.c | |
| parent | stmmac: dwmac-sunxi: Call exit cleanup function in probe error path (diff) | |
| download | kernel-2274d3753f6c5a885be4cfdf8b39ae2045ba6e30.tar.gz kernel-2274d3753f6c5a885be4cfdf8b39ae2045ba6e30.zip | |
sh_eth: uninline sh_eth_{write|read}()
Commit 3365711df024 ("sh_eth: WARN on access to a register not implemented in
in a particular chip") added WARN_ON() to sh_eth_{read|write}(), thus making
it unacceptable for these functions to be *inline* anymore. Remove *inline*
and move the functions from the header to the driver itself. Below is our
code economy with ARM gcc 4.7.3:
$ size drivers/net/ethernet/renesas/sh_eth.o{~,}
text data bss dec hex filename
32489 1140 0 33629 835d drivers/net/ethernet/renesas/sh_eth.o~
25413 1140 0 26553 67b9 drivers/net/ethernet/renesas/sh_eth.o
Suggested-by: Ben Hutchings <[email protected]>
Signed-off-by: Sergei Shtylyov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
