Skip to content

Commit

Permalink
net: pci200syn: 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: David S. Miller <davem@davemloft.net>
  • Loading branch information
Peng Li authored and David S. Miller committed Jun 15, 2021
1 parent bbcb284 commit f9a03ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/net/wan/pci200syn.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ typedef struct card_s {
static inline void new_memcpy_toio(char __iomem *dest, char *src, int length)
{
int len;

do {
len = length > 256 ? 256 : length;
memcpy_toio(dest, src, len);
Expand Down Expand Up @@ -148,8 +149,8 @@ static void pci200_set_iface(port_t *port)
static int pci200_open(struct net_device *dev)
{
port_t *port = dev_to_port(dev);

int result = hdlc_open(dev);

if (result)
return result;

Expand Down Expand Up @@ -366,6 +367,7 @@ static int pci200_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);
Expand Down

0 comments on commit f9a03ea

Please sign in to comment.