OSDN Git Service

net: sealevel: add blank line after declarations
authorPeng Li <lipeng321@huawei.com>
Sun, 30 May 2021 06:24:26 +0000 (14:24 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Jun 2021 05:14:02 +0000 (22:14 -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: Jakub Kicinski <kuba@kernel.org>
drivers/net/wan/sealevel.c

index 62cc598..829e9bc 100644 (file)
@@ -174,6 +174,7 @@ static const struct net_device_ops sealevel_ops = {
 static int slvl_setup(struct slvl_device *sv, int iobase, int irq)
 {
        struct net_device *dev = alloc_hdlcdev(sv);
+
        if (!dev)
                return -1;
 
@@ -334,6 +335,7 @@ static void __exit slvl_shutdown(struct slvl_board *b)
 
        for (u = 0; u < 2; u++) {
                struct net_device *d = b->dev[u].chan->netdevice;
+
                unregister_hdlc_device(d);
                free_netdev(d);
        }