diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 17bf3ca82aff..fd0b2b3b27b8 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -1565,7 +1565,6 @@ static void fcoe_recv_frame(struct sk_buff *skb) | |||
1565 | struct fc_frame_header *fh; | 1565 | struct fc_frame_header *fh; |
1566 | struct fcoe_crc_eof crc_eof; | 1566 | struct fcoe_crc_eof crc_eof; |
1567 | struct fc_frame *fp; | 1567 | struct fc_frame *fp; |
1568 | u8 *mac = NULL; | ||
1569 | struct fcoe_port *port; | 1568 | struct fcoe_port *port; |
1570 | struct fcoe_hdr *hp; | 1569 | struct fcoe_hdr *hp; |
1571 | 1570 | ||
@@ -1585,13 +1584,9 @@ static void fcoe_recv_frame(struct sk_buff *skb) | |||
1585 | skb_end_pointer(skb), skb->csum, | 1584 | skb_end_pointer(skb), skb->csum, |
1586 | skb->dev ? skb->dev->name : "<NULL>"); | 1585 | skb->dev ? skb->dev->name : "<NULL>"); |
1587 | 1586 | ||
1588 | /* | ||
1589 | * Save source MAC address before discarding header. | ||
1590 | */ | ||
1591 | port = lport_priv(lport); | 1587 | port = lport_priv(lport); |
1592 | if (skb_is_nonlinear(skb)) | 1588 | if (skb_is_nonlinear(skb)) |
1593 | skb_linearize(skb); /* not ideal */ | 1589 | skb_linearize(skb); /* not ideal */ |
1594 | mac = eth_hdr(skb)->h_source; | ||
1595 | 1590 | ||
1596 | /* | 1591 | /* |
1597 | * Frame length checks and setting up the header pointers | 1592 | * Frame length checks and setting up the header pointers |