net: farsync: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Peng Li 2021-06-08 16:12:28 +08:00 committed by David S. Miller
parent 34de4c85f3
commit 50d4c36336
1 changed files with 2 additions and 0 deletions

View File

@ -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)
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);
} }