diff options
| author | Stefan Raspl <raspl@linux.vnet.ibm.com> | 2014-03-19 02:58:01 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2014-03-20 00:06:55 -0400 |
| commit | 43934077b085151e1f6b19b45d7179760e8fa63d (patch) | |
| tree | 59889ee9126d91f6f3394d25eb41ae84497af66e | |
| parent | e71e4072a96c09640901c1c5b02ea3d4a925720b (diff) | |
qeth: Removed unused parameter
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>
| -rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index 908d82529ee9..8dea3f12ccc1 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c | |||
| @@ -241,7 +241,7 @@ static inline int qeth_l2_get_cast_type(struct qeth_card *card, | |||
| 241 | } | 241 | } |
| 242 | 242 | ||
| 243 | static void qeth_l2_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, | 243 | static void qeth_l2_fill_header(struct qeth_card *card, struct qeth_hdr *hdr, |
| 244 | struct sk_buff *skb, int ipv, int cast_type) | 244 | struct sk_buff *skb, int cast_type) |
| 245 | { | 245 | { |
| 246 | struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb_mac_header(skb); | 246 | struct vlan_ethhdr *veth = (struct vlan_ethhdr *)skb_mac_header(skb); |
| 247 | 247 | ||
| @@ -762,7 +762,7 @@ static int qeth_l2_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
| 762 | goto tx_drop; | 762 | goto tx_drop; |
| 763 | elements_needed++; | 763 | elements_needed++; |
| 764 | skb_reset_mac_header(new_skb); | 764 | skb_reset_mac_header(new_skb); |
| 765 | qeth_l2_fill_header(card, hdr, new_skb, ipv, cast_type); | 765 | qeth_l2_fill_header(card, hdr, new_skb, cast_type); |
| 766 | hdr->hdr.l2.pkt_length = new_skb->len; | 766 | hdr->hdr.l2.pkt_length = new_skb->len; |
| 767 | memcpy(((char *)hdr) + sizeof(struct qeth_hdr), | 767 | memcpy(((char *)hdr) + sizeof(struct qeth_hdr), |
| 768 | skb_mac_header(new_skb), ETH_HLEN); | 768 | 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) | |||
| 775 | hdr = (struct qeth_hdr *)skb_push(new_skb, | 775 | hdr = (struct qeth_hdr *)skb_push(new_skb, |
| 776 | sizeof(struct qeth_hdr)); | 776 | sizeof(struct qeth_hdr)); |
| 777 | skb_set_mac_header(new_skb, sizeof(struct qeth_hdr)); | 777 | skb_set_mac_header(new_skb, sizeof(struct qeth_hdr)); |
| 778 | qeth_l2_fill_header(card, hdr, new_skb, ipv, cast_type); | 778 | qeth_l2_fill_header(card, hdr, new_skb, cast_type); |
| 779 | } | 779 | } |
| 780 | } | 780 | } |
| 781 | 781 | ||
