OSDN Git Service

net: phy: at803x: don't inline helpers
authorVinod Koul <vkoul@kernel.org>
Thu, 21 Feb 2019 10:23:14 +0000 (15:53 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Feb 2019 23:30:03 +0000 (15:30 -0800)
commit43f2ebd5571653f5a02c178d6d73ab642e8a0cad
tree2d2539da954f0f981ebf8ce1572201442f87af8d
parent14215108a1fd7e002c0a1f9faf8fbaf41fdda50d
net: phy: at803x: don't inline helpers

Some helpers were declared with the "inline" function specifier.
It is preferable to let the compiler pick the right optimizations,
so drop the specifier for at803x_disable_rx_delay() and
at803x_disable_tx_delay()

Reviewed-by: Niklas Cassel <niklas.cassel@linaro.org>
Tested-by: Peter Ujfalusi <peter.ujflausi@ti.com>
Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c