net: pc300too: add blank line after declarations
authorPeng Li <lipeng321@huawei.com>
Fri, 11 Jun 2021 03:36:16 +0000 (11:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 19:58:11 +0000 (12:58 -0700)
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>
drivers/net/wan/pc300too.c

index 5ccaec97e3e9800745d845c73bbcff8646bff618..8f592ff798fbfe3dd0494bd6d532538c1181b77c 100644 (file)
@@ -158,8 +158,8 @@ static void pc300_set_iface(port_t *port)
 static int pc300_open(struct net_device *dev)
 {
        port_t *port = dev_to_port(dev);
-
        int result = hdlc_open(dev);
+
        if (result)
                return result;
 
@@ -426,6 +426,7 @@ static int pc300_pci_init_one(struct pci_dev *pdev,
                port_t *port = &card->ports[i];
                struct net_device *dev = port->netdev;
                hdlc_device *hdlc = dev_to_hdlc(dev);
+
                port->chan = i;
 
                spin_lock_init(&port->lock);