Commit d71fce6b authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller
Browse files

[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: default avatarAndrew Morton <>
Signed-off-by: default avatarDavid S. Miller <>
parent 28f7b036
......@@ -6580,11 +6580,12 @@ qeth_hard_header_parse(const struct sk_buff *skb, unsigned char *haddr)
const struct qeth_card *card;
const struct ethhdr *eth;
struct net_device *dev = skb->dev;
if (dev->type != ARPHRD_IEEE802_TR)
return 0;
card = qeth_get_card_from_dev(skb->dev);
card = qeth_get_card_from_dev(dev);
if (card->options.layer2)
goto haveheader;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment