aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2010-03-12 19:08:18 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-04-11 10:23:38 -0400
commit50036bbae0ed4d4e610bd59e0ce285ed20c1bee6 (patch)
treee53a6b7118dc23c0a09932a1d70e6bdc52c5037c
parentccfc3098029229d5298d4fc07f1b2c967526e56b (diff)
[SCSI] fcoe: remove an unused variable in fcoe_recv_frame()
Remove an unused variable, mac, in fcoe_recv_frame(). Signed-off-by: Joe Eykholt <jeykholt@cisco.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/fcoe/fcoe.c5
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