qeth: Removed unused parameter
authorStefan Raspl <raspl@linux.vnet.ibm.com>
Wed, 19 Mar 2014 06:58:01 +0000 (07:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 04:06:55 +0000 (00:06 -0400)
Signed-off-by: Stefan Raspl <raspl@linux.vnet.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l2_main.c

index 908d82529ee9c3e04a42caf92b9e0787836ef7d0..8dea3f12ccc1714defe7d4d65869817dd6b69135 100644 (file)
@@ -241,7 +241,7 @@ static inline int qeth_l2_get_cast_type(struct qeth_card *card,
 }
 
 static void qeth_l2_fill_header(struct qeth_card *card, struct qeth_hdr *hdr,
-                       struct sk_buff *skb, int ipv, int cast_type)
+                       struct sk_buff *skb, int cast_type)
 {
        struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb_mac_header(skb);
 
@@ -762,7 +762,7 @@ static int qeth_l2_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
                                goto tx_drop;
                        elements_needed++;
                        skb_reset_mac_header(new_skb);
-                       qeth_l2_fill_header(card, hdr, new_skb, ipv, cast_type);
+                       qeth_l2_fill_header(card, hdr, new_skb, cast_type);
                        hdr->hdr.l2.pkt_length = new_skb->len;
                        memcpy(((char *)hdr) + sizeof(struct qeth_hdr),
                                skb_mac_header(new_skb), ETH_HLEN);
@@ -775,7 +775,7 @@ static int qeth_l2_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
                        hdr = (struct qeth_hdr *)skb_push(new_skb,
                                                sizeof(struct qeth_hdr));
                        skb_set_mac_header(new_skb, sizeof(struct qeth_hdr));
-                       qeth_l2_fill_header(card, hdr, new_skb, ipv, cast_type);
+                       qeth_l2_fill_header(card, hdr, new_skb, cast_type);
                }
        }