Skip to content

Commit

Permalink
net: sealevel: add blank line after declarations
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peng Li authored and Jakub Kicinski committed Jun 1, 2021
1 parent 801f0a1 commit 58f30ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wan/sealevel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

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

0 comments on commit 58f30ee

Please sign in to comment.