Skip to content

Commit 5292622

Browse files
committed
Merge tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394
Pull firewire updates from Stefan Richter: - Migrate the bus snooper driver 'nosy' from PCI to DMA API - Small janitorial cleanup in the IPv4/v6-over-1394 driver [ The 'nosy' change already come in as a different commit through Greg KH in the misc tree back in the previous merge window, so only the cleanup ends up being new to 5.15 - Linus ] * tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394: firewire: nosy: switch from 'pci_' to 'dma_' API firewire: net: remove unused variable 'guid'
2 parents 6701e7e + 54b3bd9 commit 5292622

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/firewire/net.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,9 +488,7 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
488488
struct sk_buff *skb, u16 source_node_id,
489489
bool is_broadcast, u16 ether_type)
490490
{
491-
struct fwnet_device *dev;
492491
int status;
493-
__be64 guid;
494492

495493
switch (ether_type) {
496494
case ETH_P_ARP:
@@ -503,7 +501,6 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
503501
goto err;
504502
}
505503

506-
dev = netdev_priv(net);
507504
/* Write metadata, and then pass to the receive level */
508505
skb->dev = net;
509506
skb->ip_summed = CHECKSUM_NONE;
@@ -512,7 +509,6 @@ static int fwnet_finish_incoming_packet(struct net_device *net,
512509
* Parse the encapsulation header. This actually does the job of
513510
* converting to an ethernet-like pseudo frame header.
514511
*/
515-
guid = cpu_to_be64(dev->card->guid);
516512
if (dev_hard_header(skb, net, ether_type,
517513
is_broadcast ? net->broadcast : net->dev_addr,
518514
NULL, skb->len) >= 0) {

0 commit comments

Comments
 (0)