Commit 9e7ee10f authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: wan: add blank line after declarations

This patch fixes the checkpatch error about missing a blank line
after declarations.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 98d72823
...@@ -143,6 +143,7 @@ static __inline__ u8 sca_get_page(card_t *card) ...@@ -143,6 +143,7 @@ static __inline__ u8 sca_get_page(card_t *card)
static __inline__ void openwin(card_t *card, u8 page) static __inline__ void openwin(card_t *card, u8 page)
{ {
u8 psr = inb(card->io + N2_PSR); u8 psr = inb(card->io + N2_PSR);
outb((psr & ~PSR_PAGEBITS) | page, card->io + N2_PSR); outb((psr & ~PSR_PAGEBITS) | page, card->io + N2_PSR);
} }
...@@ -283,6 +284,7 @@ static void n2_destroy_card(card_t *card) ...@@ -283,6 +284,7 @@ static void n2_destroy_card(card_t *card)
for (cnt = 0; cnt < 2; cnt++) for (cnt = 0; cnt < 2; cnt++)
if (card->ports[cnt].card) { if (card->ports[cnt].card) {
struct net_device *dev = port_to_dev(&card->ports[cnt]); struct net_device *dev = port_to_dev(&card->ports[cnt]);
unregister_hdlc_device(dev); unregister_hdlc_device(dev);
} }
...@@ -522,6 +524,7 @@ static void __exit n2_cleanup(void) ...@@ -522,6 +524,7 @@ static void __exit n2_cleanup(void)
while (card) { while (card) {
card_t *ptr = card; card_t *ptr = card;
card = card->next_card; card = card->next_card;
n2_destroy_card(ptr); n2_destroy_card(ptr);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment