This is an impossible condition to reach; an skb in ndo_start_xmit won't
be shared by definition.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: stefanr@s5r6.in-berlin.de
Link: https://lore.kernel.org/netdev/CAHmME9pk8HEFRq_mBeatNbwXTx7UEfiQ_HG_+Lyz7E+80GmbSA@mail.gmail.com/ (local)
---
drivers/firewire/net.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index 715e491dfbc3..c48eae922566 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -1259,10 +1259,6 @@ static netdev_tx_t fwnet_tx(struct sk_buff *skb, struct net_device *net)
if (ptask == NULL)
goto fail;
- skb = skb_share_check(skb, GFP_ATOMIC);
- if (!skb)
- goto fail;
-
/*
* Make a copy of the driver-specific header.
* We might need to rebuild the header on tx failure.
--
2.25.0