mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 23:54:26 +08:00
tcp_output: fix sparse warning for tcp_wfree
Fix sparse warning: * symbol 'tcp_wfree' was not declared. Should it be static? Signed-off-by: Silviu-Mihai Popescu <silviupopescu1990@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7cefdd1f55
commit
8e7dfbc8d1
@ -940,7 +940,7 @@ void __init tcp_tasklet_init(void)
|
||||
* We cant xmit new skbs from this context, as we might already
|
||||
* hold qdisc lock.
|
||||
*/
|
||||
void tcp_wfree(struct sk_buff *skb)
|
||||
static void tcp_wfree(struct sk_buff *skb)
|
||||
{
|
||||
struct sock *sk = skb->sk;
|
||||
struct tcp_sock *tp = tcp_sk(sk);
|
||||
|
Loading…
Reference in New Issue
Block a user