Commit 50d4c363 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: farsync: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34de4c85
...@@ -2484,6 +2484,7 @@ fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -2484,6 +2484,7 @@ fst_add_one(struct pci_dev *pdev, const struct pci_device_id *ent)
for ( i = 0 ; i < card->nports ; i++ ) { for ( i = 0 ; i < card->nports ; i++ ) {
struct net_device *dev = alloc_hdlcdev(&card->ports[i]); struct net_device *dev = alloc_hdlcdev(&card->ports[i]);
hdlc_device *hdlc; hdlc_device *hdlc;
if (!dev) { if (!dev) {
while (i--) while (i--)
free_netdev(card->ports[i].dev); free_netdev(card->ports[i].dev);
...@@ -2608,6 +2609,7 @@ fst_remove_one(struct pci_dev *pdev) ...@@ -2608,6 +2609,7 @@ fst_remove_one(struct pci_dev *pdev)
for (i = 0; i < card->nports; i++) { for (i = 0; i < card->nports; i++) {
struct net_device *dev = port_to_dev(&card->ports[i]); struct net_device *dev = port_to_dev(&card->ports[i]);
unregister_hdlc_device(dev); unregister_hdlc_device(dev);
} }
......
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