]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: stmmac: Unexport stmmac_rx_offset() from stmmac.h
authorFurong Xu <0x1207@gmail.com>
Tue, 7 Jan 2025 07:54:48 +0000 (15:54 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 9 Jan 2025 11:13:43 +0000 (12:13 +0100)
commite62de01008bd6581788aa155ada043cba0261332
tree39b90178beafba4cb3006e94863f3b6fe277e2a1
parentb11bff90f2ad52c5c55c822ecd20326619a73898
net: stmmac: Unexport stmmac_rx_offset() from stmmac.h

stmmac_rx_offset() is referenced in stmmac_main.c only,
let's move it to stmmac_main.c.

Drop the inline keyword by the way, it is better to let the compiler
to decide.

Compile tested only.
No functional change intended.

Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250107075448.4039925-1-0x1207@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c