mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
net: dsa: remove "inline" from dsa_user_netpoll_send_skb()
The convention is to not use "inline" functions in C files, and let the compiler decide whether to inline or not. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://lore.kernel.org/r/20240206112927.4134375-1-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
a2e520643b
commit
83acbb9d07
@ -875,8 +875,8 @@ static int dsa_user_port_obj_del(struct net_device *dev, const void *ctx,
|
||||
return err;
|
||||
}
|
||||
|
||||
static inline netdev_tx_t dsa_user_netpoll_send_skb(struct net_device *dev,
|
||||
struct sk_buff *skb)
|
||||
static netdev_tx_t dsa_user_netpoll_send_skb(struct net_device *dev,
|
||||
struct sk_buff *skb)
|
||||
{
|
||||
#ifdef CONFIG_NET_POLL_CONTROLLER
|
||||
struct dsa_user_priv *p = netdev_priv(dev);
|
||||
|
Loading…
Reference in New Issue
Block a user