projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e5206
)
net: dsa: remove "inline" from dsa_user_netpoll_send_skb()
author
Vladimir Oltean
<vladimir.oltean@nxp.com>
Tue, 6 Feb 2024 11:29:26 +0000
(13:29 +0200)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 9 Feb 2024 03:03:57 +0000
(19:03 -0800)
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>
net/dsa/user.c
patch
|
blob
|
history
diff --git
a/net/dsa/user.c
b/net/dsa/user.c
index ba2e53b5e16a0bb05a8402e36f5376e329883dbb..5d666dfb317d76ef1fdc963b131d46aa2f0cd241 100644
(file)
--- a/
net/dsa/user.c
+++ b/
net/dsa/user.c
@@
-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);