aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-10-11 05:44:23 -0400
committerDavid S. Miller <davem@davemloft.net>2007-10-11 05:44:23 -0400
commitd71fce6b932d83e0a1caa49dfa5a536fd50f07c9 (patch)
tree8048ac35873f1e54c63a329ea70a266a6bb937a0 /drivers/s390
parent28f7b0360f46eeb9eeee63d03bb5484918a54837 (diff)
[QETH]: fix qeth_main.c
drivers/s390/net/qeth_main.c: In function 'qeth_hard_header_parse': drivers/s390/net/qeth_main.c:6584: error: 'dev' undeclared (first use in this function) drivers/s390/net/qeth_main.c:6584: error: (Each undeclared identifier is reported only once drivers/s390/net/qeth_main.c:6584: error: for each function it appears in.) Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/qeth_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_main.c b/drivers/s390/net/qeth_main.c
index c67e7dfd56cc..a2d08c9ba3c4 100644
--- a/drivers/s390/net/qeth_main.c
+++ b/drivers/s390/net/qeth_main.c
@@ -6580,11 +6580,12 @@ qeth_hard_header_parse(const struct sk_buff *skb, unsigned char *haddr)
6580{ 6580{
6581 const struct qeth_card *card; 6581 const struct qeth_card *card;
6582 const struct ethhdr *eth; 6582 const struct ethhdr *eth;
6583 struct net_device *dev = skb->dev;
6583 6584
6584 if (dev->type != ARPHRD_IEEE802_TR) 6585 if (dev->type != ARPHRD_IEEE802_TR)
6585 return 0; 6586 return 0;
6586 6587
6587 card = qeth_get_card_from_dev(skb->dev); 6588 card = qeth_get_card_from_dev(dev);
6588 if (card->options.layer2) 6589 if (card->options.layer2)
6589 goto haveheader; 6590 goto haveheader;
6590#ifdef CONFIG_QETH_IPV6 6591#ifdef CONFIG_QETH_IPV6