Message ID | 20200327155327.605375-4-matthieu.baerts@tessares.net |
---|---|
State | Accepted, archived |
Delegated to: | Matthieu Baerts |
Headers | show |
Series | mptcp: remove all "inline" in foo.c files | expand |
diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 7bdf79f8787a..c4d15859ba2d 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -316,9 +316,9 @@ static struct sock *mptcp_subflow_recv_lookup(const struct mptcp_sock *msk) return NULL; } -static inline bool mptcp_skb_can_collapse_to(u64 write_seq, - const struct sk_buff *skb, - const struct mptcp_ext *mpext) +static bool mptcp_skb_can_collapse_to(u64 write_seq, + const struct sk_buff *skb, + const struct mptcp_ext *mpext) { if (!tcp_skb_can_collapse_to(skb)) return false;
Remove inline in foo.c files, let the compiler decide. Request from David S. Miller. Note that mptcp_skb_can_collapse_to() was not introduced in "mptcp: rework mptcp_sendmsg_frag to accept optional dfrag" but this commit modifies the first parameter of the function and that's the only remaining "inline" one. Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net> --- net/mptcp/protocol.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)