Skip to content

Commit 83acbb9

Browse files
vladimirolteankuba-moo
authored andcommitted
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 <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent a2e5206 commit 83acbb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

net/dsa/user.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@ static int dsa_user_port_obj_del(struct net_device *dev, const void *ctx,
875875
return err;
876876
}
877877

878-
static inline netdev_tx_t dsa_user_netpoll_send_skb(struct net_device *dev,
879-
struct sk_buff *skb)
878+
static netdev_tx_t dsa_user_netpoll_send_skb(struct net_device *dev,
879+
struct sk_buff *skb)
880880
{
881881
#ifdef CONFIG_NET_POLL_CONTROLLER
882882
struct dsa_user_priv *p = netdev_priv(dev);

0 commit comments

Comments
 (0)