Commit 1b811432 authored by Kittipon Meesompop's avatar Kittipon Meesompop Committed by David S. Miller

s390/qeth: de-indent else after return

Trivial cleanup, in preparation for a subsequent patch.
Signed-off-by: default avatarKittipon Meesompop <kmeesomp@linux.vnet.ibm.com>
Signed-off-by: default avatarJulian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 71c46897
...@@ -2533,7 +2533,8 @@ static int qeth_l3_setup_netdev(struct qeth_card *card) ...@@ -2533,7 +2533,8 @@ static int qeth_l3_setup_netdev(struct qeth_card *card)
(card->info.link_type == QETH_LINK_TYPE_HSTR)) { (card->info.link_type == QETH_LINK_TYPE_HSTR)) {
pr_info("qeth_l3: ignoring TR device\n"); pr_info("qeth_l3: ignoring TR device\n");
return -ENODEV; return -ENODEV;
} else { }
card->dev = alloc_etherdev(0); card->dev = alloc_etherdev(0);
if (!card->dev) if (!card->dev)
return -ENODEV; return -ENODEV;
...@@ -2542,8 +2543,7 @@ static int qeth_l3_setup_netdev(struct qeth_card *card) ...@@ -2542,8 +2543,7 @@ static int qeth_l3_setup_netdev(struct qeth_card *card)
/*IPv6 address autoconfiguration stuff*/ /*IPv6 address autoconfiguration stuff*/
qeth_l3_get_unique_id(card); qeth_l3_get_unique_id(card);
if (!(card->info.unique_id & UNIQUE_ID_NOT_BY_CARD)) if (!(card->info.unique_id & UNIQUE_ID_NOT_BY_CARD))
card->dev->dev_id = card->info.unique_id & card->dev->dev_id = card->info.unique_id & 0xffff;
0xffff;
card->dev->hw_features |= NETIF_F_SG; card->dev->hw_features |= NETIF_F_SG;
card->dev->vlan_features |= NETIF_F_SG; card->dev->vlan_features |= NETIF_F_SG;
...@@ -2555,7 +2555,6 @@ static int qeth_l3_setup_netdev(struct qeth_card *card) ...@@ -2555,7 +2555,6 @@ static int qeth_l3_setup_netdev(struct qeth_card *card)
card->dev->vlan_features |= NETIF_F_TSO | card->dev->vlan_features |= NETIF_F_TSO |
NETIF_F_RXCSUM | NETIF_F_IP_CSUM; NETIF_F_RXCSUM | NETIF_F_IP_CSUM;
} }
}
} else if (card->info.type == QETH_CARD_TYPE_IQD) { } else if (card->info.type == QETH_CARD_TYPE_IQD) {
card->dev = alloc_netdev(0, "hsi%d", NET_NAME_UNKNOWN, card->dev = alloc_netdev(0, "hsi%d", NET_NAME_UNKNOWN,
ether_setup); ether_setup);
......
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