sh_eth: uninline TSU register accessors
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Tue, 27 Feb 2018 11:58:16 +0000 (14:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 19:39:48 +0000 (14:39 -0500)
commit55ea874306ea28e6be9e07b7e89bbb9fb674e8eb
treeb088ad8945681fb8f474d90685d32c7466ab2424
parentff2926d851076a765a8a322d5b3d1d9c9ef673d0
sh_eth: uninline TSU register accessors

We have uninlined the sh_eth_{read|write}() functions introduced in the
commit 4a55530f38e ("net: sh_eth: modify the definitions of register").
Now remove *inline* from sh_eth_tsu_{read|write}() as  well and move
these functions from the header to the driver itself. This saves 684
more bytes of object code (ARM gcc 4.8.5)...

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c
drivers/net/ethernet/renesas/sh_eth.h