Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acb5d75b authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

packet: remove some pointless conditionals before kfree_skb()



Remove some pointless conditionals before kfree_skb().

Signed-off-by: default avatarWei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce030edf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -756,7 +756,6 @@ ring_is_full:
	spin_unlock(&sk->sk_receive_queue.lock);

	sk->sk_data_ready(sk, 0);
	if (copy_skb)
	kfree_skb(copy_skb);
	goto drop_n_restore;
}